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
I've tested you model on all available configurations in Google Colab and got this when running image_512_cc.yml.
Error when using image_256_cc.yml #7 ERROR - main.py - 2022-07-21 11:16:31,872 - Traceback (most recent call last): File "main.py", line 164, in main runner.sample() File "/content/ddrm/runners/diffusion.py", line 135, in sample model.load_state_dict(torch.load(ckpt, map_location=self.device)) File "/usr/local/lib/python3.7/dist-packages/torch/serialization.py", line 713, in load return _legacy_load(opened_file, map_location, pickle_module, **pickle_load_args) File "/usr/local/lib/python3.7/dist-packages/torch/serialization.py", line 920, in _legacy_load magic_number = pickle_module.load(f, **pickle_load_args) _pickle.UnpicklingError: invalid load key, '\xef'.
Could you recommend a possible fix?
The text was updated successfully, but these errors were encountered:
I suspect this is due to the pickle file not being downloaded properly.
Sorry, something went wrong.
I've tested it locally and the problem persists, so it isn't related to Colab's I/O throughput.
Found the source of this behaviour: a code in /runners/diffusion.py at line 128:
/runners/diffusion.py
ddrm/runners/diffusion.py
Line 128 in 73fbbef
No branches or pull requests
I've tested you model on all available configurations in Google Colab and got this when running image_512_cc.yml.
Could you recommend a possible fix?
The text was updated successfully, but these errors were encountered: