svip-lab / impersonator

PyTorch implementation of our ICCV 2019 paper: Liquid Warping GAN: A Unified Framework for Human Motion Imitation, Appearance Transfer and Novel View Synthesis
https://svip-lab.github.io/project/impersonator
Other
1.72k stars 317 forks source link

argparse.ArgumentError: argument --load_path: conflicting option string: --load_path #37

Closed SihYingChen closed 4 years ago

SihYingChen commented 4 years ago

Hi! Thanks for your awesome job! When I ran the demo_imitation.py, I had this problem. I try to comment out 'load_path' in test_options.py or base_options.py, but it didn't work. Could you help me to figure it out? Thank you!

Traceback (most recent call last): File "demo_view.py", line 157, in opt = TestOptions().parse() File "/workspace/Impersonator/options/base_options.py", line 75, in parse self.initialize() File "/workspace/Impersonator/options/test_options.py", line 16, in initialize help='pretrained model path') File "/opt/conda/lib/python3.6/argparse.py", line 1352, in add_argument return self._add_action(action) File "/opt/conda/lib/python3.6/argparse.py", line 1715, in _add_action self._optionals._add_action(action) File "/opt/conda/lib/python3.6/argparse.py", line 1556, in _add_action action = super(_ArgumentGroup, self)._add_action(action) File "/opt/conda/lib/python3.6/argparse.py", line 1366, in _add_action self._check_conflict(action) File "/opt/conda/lib/python3.6/argparse.py", line 1505, in _check_conflict conflict_handler(action, confl_optionals) File "/opt/conda/lib/python3.6/argparse.py", line 1514, in _handle_conflict_error raise ArgumentError(action, message % conflict_string) argparse.ArgumentError: argument --load_path: conflicting option string: --load_path

StevenLiuWen commented 4 years ago

@SihYingChen It's a bug in the last version, and please clone the latest codes.