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
Hi, I've finished the pre-processing but there was an error occur after running "python utils/convert_bin_to_hdf5.py"
Traceback (most recent call last): File "utils/convert_bin_to_hdf5.py", line 66, in convert_num_to_bitfield(label_data, h, w, npz_name, root_folder, h5_file) File "utils/convert_bin_to_hdf5.py", line 30, in convert_num_to_bitfield padded_bit_tensor = torch.cat((torch.zeros(cls_num-actual_len).byte(), bit_tensor.byte()), dim=0) RuntimeError: $ Torch: invalid memory size -- maybe an overflow? at ..\aten\src\TH\THGeneral.cpp:188
The main reason of the error is that 'cls_num' is smaller than 'actual_len', so 'cls_num-actual'_len value is under 0.
I don't understand what is 'actual_len'. What does the actual length mean?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, I've finished the pre-processing but there was an error occur after running "python utils/convert_bin_to_hdf5.py"
The main reason of the error is that 'cls_num' is smaller than 'actual_len', so 'cls_num-actual'_len value is under 0.
I don't understand what is 'actual_len'. What does the actual length mean?
The text was updated successfully, but these errors were encountered: