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

ClassicGAN.py connot plus '-c' or '-r', #2

Open
ErisGe opened this issue Mar 19, 2020 · 0 comments
Open

ClassicGAN.py connot plus '-c' or '-r', #2

ErisGe opened this issue Mar 19, 2020 · 0 comments

Comments

@ErisGe
Copy link

ErisGe commented Mar 19, 2020

Hello, I can run the ClassicGAN.py, but when I plus '-c' or '-r', it turns wrong.
Like this:

Original stack trace for 'encode':
File "train_sample/ClassicGAN_update.py", line 354, in
main()
File "train_sample/ClassicGAN_update.py", line 145, in main
tf.compat.v1.summary.histogram('encode', encode)
File "/tensorflow-1.15.0/python3.6/tensorflow_core/python/summary/summary.py", line 179, in histogram
tag=tag, values=values, name=scope)
File "/tensorflow-1.15.0/python3.6/tensorflow_core/python/ops/gen_logging_ops.py", line 329, in histogram_summary
"HistogramSummary", tag=tag, values=values, name=name)
File "/tensorflow-1.15.0/python3.6/tensorflow_core/python/framework/op_def_library.py", line 794, in _apply_op_helper
op_def=op_def)
File "/tensorflow-1.15.0/python3.6/tensorflow_core/python/util/deprecation.py", line 507, in new_func
return func(*args, **kwargs)
File "/tensorflow-1.15.0/python3.6/tensorflow_core/python/framework/ops.py", line 3357, in create_op
attrs, op_def, compute_device)
File "/tensorflow-1.15.0/python3.6/tensorflow_core/python/framework/ops.py", line 3426, in _create_op_internal
op_def=op_def)
File "/tensorflow-1.15.0/python3.6/tensorflow_core/python/framework/ops.py", line 1748, in init
self._traceback = tf_stack.extract_stack()

Exception ignored in: <bound method tqdm.del of 0% 5/8001 [01:28<4:11:38, 1.89s/it]>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/tqdm/_tqdm.py", line 931, in del
self.close()
File "/usr/local/lib/python3.6/dist-packages/tqdm/_tqdm.py", line 1133, in close
self._decr_instances(self)
File "/usr/local/lib/python3.6/dist-packages/tqdm/_tqdm.py", line 496, in _decr_instances
cls.monitor.exit()
File "/usr/local/lib/python3.6/dist-packages/tqdm/_monitor.py", line 52, in exit
self.join()
File "/usr/lib/python3.6/threading.py", line 1053, in join
raise RuntimeError("cannot join current thread")
RuntimeError: cannot join current thread

Please tell me the reason.
Besides, I cannot run the sampling since this error:
could not broadcast input array from shape(6, 128, 512) to (6)

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