We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
if save: # global desc g_desc_pkl = os.path.join(g_desc_dir, f"{beg_idx + b_i}.bin") with open(g_desc_pkl, 'wb') as handle: pickle.dump(g_desc, handle, protocol=pickle.HIGHEST_PROTOCOL) # local desc l_desc_pkl = os.path.join(l_desc_dir, f"{beg_idx + b_i}.bin") with open(l_desc_pkl, 'wb') as handle: pickle.dump((l_pos, l_desc, norm_meta), handle, protocol=pickle.HIGHEST_PROTOCOL)
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
之前,数据集生成我已经参照你们代码改了,但是生成全局描述子过程中报错了,不知道我把pickle改为bin后缀,有没有影响。
No branches or pull requests
if save:
# global desc
g_desc_pkl = os.path.join(g_desc_dir, f"{beg_idx + b_i}.bin")
with open(g_desc_pkl, 'wb') as handle:
pickle.dump(g_desc, handle, protocol=pickle.HIGHEST_PROTOCOL)
# local desc
l_desc_pkl = os.path.join(l_desc_dir, f"{beg_idx + b_i}.bin")
with open(l_desc_pkl, 'wb') as handle:
pickle.dump((l_pos, l_desc, norm_meta), handle, protocol=pickle.HIGHEST_PROTOCOL)
The text was updated successfully, but these errors were encountered: