lyndonzheng / Pluralistic-Inpainting

[CVPR 2019]: Pluralistic Image Completion
676 stars 145 forks source link

Unable to train #46

Closed MayureshPitale closed 4 years ago

MayureshPitale commented 4 years ago

Hi. I am unable to know how to train the model. I do not know the exact format of the following command - python train.py --name celeba_random --img_file your_image_path

I tried out by using the same command in the prompt window and got the following error - File "C:\Users\Admin\Desktop\Pluralistic-Inpainting\model\pluralistic_model.py", line 68 self.img = self.img.cuda(self.gpu_ids[0], async=True) ^ SyntaxError: invalid syntax

Can you let me know how exactly to run this command and the correct format of it? Thanks in advance!

happy20200 commented 4 years ago

请问这个问题你解决了吗@MayureshPitale