videogan
videogan copied to clipboard
flag type error in --video_dim
absl.flags._exceptions.IllegalFlagValueError: flag --video_dim=[32, 64, 64, 3]: Expect argument to be a string or int, found <type 'list'>
Python v2.7.12
TensorFlow v1.9.0 (gpu accelerated) [docker image tensorflow/tensorflow:latest-gpu
]
CMD: python main.py
any suggested fixes or workarounds?
you can comment that out, initialize a new variable video_dim = [32, 64, 64, 3] and which calling the constructor, instead of passing FLAG.video_dim, pass video_dim as the parameter. It might work
after commenting the flag and passing video_dim as parameter is still not effective. please resolve the issue
Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/absl/flags/_flag.py", line 181, in _parse return self.parser.parse(argument) File "/usr/local/lib/python3.6/dist-packages/absl/flags/_argument_parser.py", line 152, in parse val = self.convert(argument) File "/usr/local/lib/python3.6/dist-packages/absl/flags/_argument_parser.py", line 268, in convert type(argument))) TypeError: Expect argument to be a string or int, found <class 'float'>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "main.py", line 21, in