taki0112 / UGATIT

Official Tensorflow implementation of U-GAT-IT: Unsupervised Generative Attentional Networks with Adaptive Layer-Instance Normalization for Image-to-Image Translation (ICLR 2020)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to find a checkpoint

Tyotw opened this issue · comments

commented

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]]