Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error while running clean.py #6

Open
pankaj2701 opened this issue Mar 31, 2019 · 6 comments
Open

error while running clean.py #6

pankaj2701 opened this issue Mar 31, 2019 · 6 comments

Comments

@pankaj2701
Copy link

I tried using the pretrained model as given in the instructions, but got the following error

line 79, in init
self.reg_loss = getattr(F, opts.reg_loss)
AttributeError: 'ArgParser' object has no attribute 'reg_loss'

@gregarious9612
Copy link

gregarious9612 commented Apr 5, 2019

Getting the same issue when trying to run the pre-trained model @santi-pdp

@Mega4alik
Copy link

same for me. @santi-pdp

@anirudh3
Copy link

Works after uncommenting line 79 for inference, its only used for training.

@ethan-ou
Copy link

Can confirm it's working. Go to segan/models then edit model.py and comment out line 79 at self.reg_loss = getattr(F, opts.reg_loss)

cHemingway added a commit to cHemingway/segan_pytorch that referenced this issue Jul 7, 2019
See issue santi-pdp#6 in origin repo
@rajedan
Copy link

rajedan commented Nov 29, 2019

Can anyone please confirm the python version to run this project? (2.x or 3.x)

@shamoons
Copy link

3.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants