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

Path problems under Win #13

Open
flyingtiger111 opened this issue May 9, 2024 · 2 comments
Open

Path problems under Win #13

flyingtiger111 opened this issue May 9, 2024 · 2 comments

Comments

@flyingtiger111
Copy link

File "D:\Anaconda\envs\CDO\lib\shutil.py", line 121, in copyfile
with open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\zzz/.cache\torch\hub\checkpoints\y4mKOuRSNGQQlp6wm_a9bF-UEQwp6a10xFCLhm4bqjDu6aSNW9yhDRM7qyx0vK0WTh42gEaniUVm3h7pg0H-W0yJff5qQtoAX7Zze4vOsqjoIthp-FW3nlfMD0-gcJi8IiVrMWqVOw2N3MbCud6uQQrTaEAvAdNjtjMpym1JghN-F060rSQKmgtq5R-wJe185IyW4-_c5_ItbhYpCyLxdqdEQ'

Respected scholars, can you help me with this question? I am very interested in your creative work.

@Kebzzang
Copy link

In the Registry Editor, you can change the default 256 character path length limitation (MAX_PATH).

@flyingtiger111
Copy link
Author

In the Registry Editor, you can change the default 256 character path length limitation (MAX_PATH).

Thanks for the answer, I made some adjustments in the original code to load the .pth file. This issue has been fixed.

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