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

请问现在预训练模型可以用了吗 #40

Open
luanqi123 opened this issue Sep 10, 2022 · 4 comments
Open

请问现在预训练模型可以用了吗 #40

luanqi123 opened this issue Sep 10, 2022 · 4 comments

Comments

@luanqi123
Copy link

如题

@luanqi123
Copy link
Author

捕获

@luanqi123
Copy link
Author

报这个错误

@INVOKERer
Copy link
Owner

你好,模型是可以正常使用的,在这个位置报错应该不是模型的问题(模型应该已经完成了加载),如果你使用的是windows,请尝试将test.py:test_loader = DataLoader(dataset=test_dataset, batch_size=1, shuffle=False, num_workers=4, drop_last=False, pin_memory=True)中的num_workers设置为0。

@luanqi123
Copy link
Author

luanqi123 commented Oct 11, 2022 via email

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