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

about Train.py #53

Open
ILLLLUSION opened this issue Oct 22, 2023 · 3 comments
Open

about Train.py #53

ILLLLUSION opened this issue Oct 22, 2023 · 3 comments

Comments

@ILLLLUSION
Copy link

This code cannot be run using Windows system, right?

@ILLLLUSION
Copy link
Author

i got a ImportError like this
NOTE: Redirects are currently not supported in Windows or MacOs.
Traceback (most recent call last):
File "testfile.py", line 7, in
from config.diffconfig import DiffusionConfig, get_model_conf
File "D:\Myresearch\Person_Image_Synthesis\PIDM\config_init_.py", line 1, in
from .diffconfig import *
File "D:\Myresearch\Person_Image_Synthesis\PIDM\config\diffconfig.py", line 3, in
from tensorfn.config import (
File "D:\StudyTools\Anaconda\envs\diffusion\lib\site-packages\tensorfn\config_init_.py", line 1, in
from tensorfn.config.config import (
File "D:\StudyTools\Anaconda\envs\diffusion\lib\site-packages\tensorfn\config\config.py", line 9, in
from pydantic import (
ImportError: cannot import name 'ArbitraryTypeError' from 'pydantic' (D:\StudyTools\Anaconda\envs\diffusion\lib\site-packages\pydantic_init_.py)
How to solve?

@ankanbhunia
Copy link
Owner

I haven't tried to run it on windows systems. Sorry can't help on that. Maybe try using wsl?

@ILLLLUSION
Copy link
Author

I haven't tried to run it on windows systems. Sorry can't help on that. Maybe try using wsl?

I have solved this error, the pytantic version is too high, but now I only have a gpu, how can I modify the code so that it can start training? Thank you very much for your patient reply.

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

2 participants