-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
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
trying to run prompt but hitting error #3
Comments
full logs:
|
Looks like your model file might be corrupted.
…On Thu, Jul 21, 2022, 23:11 Krish Dholakia ***@***.***> wrote:
full logs:
Traceback (most recent call last): File "/usr/local/bin/imagen", line 8,
in <module> sys.exit(imagen()) File
"/usr/local/lib/python3.7/dist-packages/click/core.py", line 829, in
__call__ return self.main(*args, **kwargs) File
"/usr/local/lib/python3.7/dist-packages/click/core.py", line 782, in main
rv = self.invoke(ctx) File
"/usr/local/lib/python3.7/dist-packages/click/core.py", line 1066, in
invoke return ctx.invoke(self.callback, **ctx.params) File
"/usr/local/lib/python3.7/dist-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs) File
"/usr/local/lib/python3.7/dist-packages/imagen_pytorch/cli.py", line 32, in
imagen loaded = torch.load(str(model_path)) File
"/usr/local/lib/python3.7/dist-packages/torch/serialization.py", line 712,
in load return _load(opened_zipfile, map_location, pickle_module,
**pickle_load_args) File
"/usr/local/lib/python3.7/dist-packages/torch/serialization.py", line 1049,
in _load result = unpickler.load() File
"/usr/local/lib/python3.7/dist-packages/torch/serialization.py", line 1019,
in persistent_load load_tensor(dtype, nbytes, key,
_maybe_decode_ascii(location)) File
"/usr/local/lib/python3.7/dist-packages/torch/serialization.py", line 997,
in load_tensor storage = zip_file.get_storage_from_record(name, numel,
torch._UntypedStorage).storage()._untyped() RuntimeError:
PytorchStreamReader failed reading file data/2: file read failed
—
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQZQVCAYTGWDAEVF665UWWLVVI3RVANCNFSM54KDF36Q>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Hmm, I’m just downloading your repo and running it on the dataset. How would you suggest I proceed on this? |
can you paste your full command line? |
Did you train a model yet? Can you paste your command line?
…On Fri, Jul 22, 2022, 21:01 Krish Dholakia ***@***.***> wrote:
Hmm, I’m just downloading your repo and running it on the dataset. How
would you suggest I proceed on this?
—
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQZQVCGONTDZ52DD2HN7ZIDVVNVA3ANCNFSM54KDF36Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Hi,
I'm training this model on a dataset of pictures of rooms, and running this prompt - "photo of a room".
But, I'm hitting this issue -
RuntimeError: PytorchStreamReader failed reading file data/2: file read failed
Model has been running for nearly the entire day, what exactly is wrong here?
The text was updated successfully, but these errors were encountered: