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

您好,我在使用infer的时候出现了问题 #14

Open
lmolhw5252 opened this issue Mar 25, 2020 · 2 comments
Open

您好,我在使用infer的时候出现了问题 #14

lmolhw5252 opened this issue Mar 25, 2020 · 2 comments

Comments

@lmolhw5252
Copy link

RuntimeError: set_storage is not allowed on Tensor created from .data or .detach()

具体输出入图所示
image
我的环境是pytorch=1.1.0,torchvision=0.3,cuda=10
请问您遇见过这个问题么?

@bityigoss
Copy link
Owner

pytorch/pytorch#23393
看看这里是否有帮助

@lmolhw5252
Copy link
Author

您好, 还有一个问题想要问下,我在测试的时候使用infer.py和test.py都试过了,发现两个计算出来的准确率不一样,请问您知道这个是怎么回事么?我看好像在读入数据的时候两个代码是有区别的

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