Skip to content
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

Failed to find a checkpoint #113

Open
Tyotw opened this issue Mar 1, 2021 · 0 comments
Open

Failed to find a checkpoint #113

Tyotw opened this issue Mar 1, 2021 · 0 comments

Comments

@Tyotw
Copy link

Tyotw commented Mar 1, 2021

That is my Training command: python main.py --dataset maps
and there is my problem traceback:

Total size of variables: 670776976
Total bytes of variables: 2683107904
[] Reading checkpoints...
[
] Failed to find a checkpoint
[!] Load failed...
Traceback (most recent call last):
File "D:\anaconda3\envs\py36\lib\site-packages\tensorflow\python\client\session.py", line 1356, in _do_call
return fn(args)
File "D:\anaconda3\envs\py36\lib\site-packages\tensorflow\python\client\session.py", line 1341, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "D:\anaconda3\envs\py36\lib\site-packages\tensorflow\python\client\session.py", line 1429, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Expected image (JPEG, PNG, or GIF), got unknown format starting with 'BM60
\000\000\000\000\0006\000\000\000(\000'
[[{{node DecodeJpeg}}]]
[[IteratorGetNext]]
[[RemoteCall]]
[[IteratorGetNext_1]]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "main.py", line 106, in
main()
File "main.py", line 98, in main
gan.train()
File "D:\lzf\UGATIT-master\UGATIT.py", line 531, in train
self.Discriminator_loss, self.D_loss], feed_dict = train_feed_dict)
File "D:\anaconda3\envs\py36\lib\site-packages\tensorflow\python\client\session.py", line 950, in run
run_metadata_ptr)
File "D:\anaconda3\envs\py36\lib\site-packages\tensorflow\python\client\session.py", line 1173, in _run
feed_dict_tensor, options, run_metadata)
File "D:\anaconda3\envs\py36\lib\site-packages\tensorflow\python\client\session.py", line 1350, in _do_run
run_metadata)
File "D:\anaconda3\envs\py36\lib\site-packages\tensorflow\python\client\session.py", line 1370, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Expected image (JPEG, PNG, or GIF), got unknown format starting with 'BM60*\000\000\000\000\0006\000\000\000(\000'
[[{{node DecodeJpeg}}]]
[[IteratorGetNext]]
[[RemoteCall]]
[[IteratorGetNext_1]]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant