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

RUN THE CODE #80

Closed
wwjwy opened this issue Sep 8, 2021 · 8 comments
Closed

RUN THE CODE #80

wwjwy opened this issue Sep 8, 2021 · 8 comments

Comments

@wwjwy
Copy link

wwjwy commented Sep 8, 2021

has anyone run the code successfully? i cannot set the right environment

@mingukkang
Copy link
Collaborator

mingukkang commented Sep 8, 2021

Hi, Thank you for your interest in our work.

Since StudioGAN was released, there have been many updates. Thus, it seems that the enviroment.yaml file needs to be updated. I will update the file ASAP (~48 hours).

BTW, what graphics card are you using? You need to install a proper PyTorch version which depends on the type of graphic card.

Thank you.

@wwjwy
Copy link
Author

wwjwy commented Sep 8, 2021

IMG_7790(20210908-152427)
i use pytorch1.6

@wwjwy
Copy link
Author

wwjwy commented Sep 8, 2021

the problem is shown in the picture

@mingukkang
Copy link
Collaborator

mingukkang commented Sep 8, 2021

Can you explain your situation more specifically? I cannot figure out what is your problem is.

@wwjwy
Copy link
Author

wwjwy commented Sep 8, 2021

When I configured the environment according to requirements.md, I found that torchlars could not be installed. When I run the code, there will be a problem as shown in the figure. I think the problem may be that the code contains C++ language.

@mingukkang
Copy link
Collaborator

Just remove torchlars in environment.yaml, remove the line "from torchlars import LARS" in loader.py, and reinstall all library. It will resolve the problem.

@binkiebinkie
Copy link

I ran into the same issue, and just to document what happened it's that torchlars doesn't support Windows. I am trying to get the environment working on a windows machine

@mingukkang
Copy link
Collaborator

We removed the torchlars module in StudioGAN since the module is no longer used in our library.

Thank you.

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

3 participants