chap 20 Deep Q Learning
Opened this issue · 0 comments
eric-h commented
python main.py --network_header_type=nips --env_name=Breakout-v0 --use_gpu=False
/anaconda3/lib/python3.6/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
from ._conv import register_converters as _register_converters
Traceback (most recent call last):
File "main.py", line 168, in <module>
tf.app.run()
File "/anaconda3/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 125, in run
_sys.exit(main(argv))
File "main.py", line 106, in main
conf.data_format = 'NHWC'
File "/anaconda3/lib/python3.6/site-packages/tensorflow/python/platform/flags.py", line 88, in __setattr__
return self.__dict__['__wrapped'].__setattr__(name, value)
File "/anaconda3/lib/python3.6/site-packages/absl/flags/_flagvalues.py", line 498, in __setattr__
return self._set_unknown_flag(name, value)
File "/anaconda3/lib/python3.6/site-packages/absl/flags/_flagvalues.py", line 374, in _set_unknown_flag
raise _exceptions.UnrecognizedFlagError(name, value)
absl.flags._exceptions.UnrecognizedFlagError: Unknown command line flag 'data_format'
在执行main.py时遇到这个问题,请问应该怎么解决?查阅了下资料,说是TensorFlow版本的问题.