You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
absl.flags._exceptions.UnrecognizedFlagError: Unknown command line flag 'cfg'. Did you mean: cfg_path ?
This error arrises while running "python train.py --cfg experiments/cfgs/gans/mnist.yml --is_train"
It arrises at "C:\Users\ELCOT\defensegan\utils\config.py", line 77, in load_config
if hasattr(flags, k.lower()) this place.
The text was updated successfully, but these errors were encountered:
Hi sir, I found the solution . Please use Linux or Mac OS rather than using
Windows. Because in Windows python supports tensorflow only in version 3.
But the defence gan code is written in python2. In windows python2 doesn't
have tensorflow support. At the same time Linux distributions has the
tensorflow support even in python 2 so my preference is use Ubuntu or MacOS
and install python 2, then install the prescibed tensorflow version(given
in readme) then do the same steps you will get the output. Thank you:)
absl.flags._exceptions.UnrecognizedFlagError: Unknown command line flag 'cfg'. Did you mean: cfg_path ?
This error arrises while running "python train.py --cfg experiments/cfgs/gans/mnist.yml --is_train"
It arrises at "C:\Users\ELCOT\defensegan\utils\config.py", line 77, in load_config
if hasattr(flags, k.lower()) this place.
The text was updated successfully, but these errors were encountered: