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

1 #59

Closed
baiwan0 opened this issue Jul 9, 2022 · 9 comments
Closed

1 #59

baiwan0 opened this issue Jul 9, 2022 · 9 comments

Comments

@baiwan0
Copy link

baiwan0 commented Jul 9, 2022

RuntimeError: There were no tensor arguments to this function (e.g., you passed an empty list of Tensors), but no fallback function is registered for schema aten::_cat. This usually means that this function requires a non-empty list of Tensors. Available functions are [CPU, CUDA, QuantizedCPU, BackendSelect, Named, AutogradOther, AutogradCPU, AutogradCUDA, AutogradXLA, AutogradNestedTensor, UNKNOWN_TENSOR_TYPE_ID, AutogradPrivateUse1, AutogradPrivateUse2, AutogradPrivateUse3, Tracer, Autocast, Batched, VmapMode].
image

@baiwan0
Copy link
Author

baiwan0 commented Jul 9, 2022

RuntimeError: There were no tensor arguments to this function (e.g., you passed an empty list of Tensors), but no fallback function is registered for schema aten::_cat. This usually means that this function requires a non-empty list of Tensors. Available functions are [CPU, CUDA, QuantizedCPU, BackendSelect, Named, AutogradOther, AutogradCPU, AutogradCUDA, AutogradXLA, AutogradNestedTensor, UNKNOWN_TENSOR_TYPE_ID, AutogradPrivateUse1, AutogradPrivateUse2, AutogradPrivateUse3, Tracer, Autocast, Batched, VmapMode]. image

有人出现这种问题吗,这是哪里出现了问题

@bling-bling-only
Copy link

大哥解决了不,我也遇到了

@baiwan0
Copy link
Author

baiwan0 commented Jul 9, 2022

大哥解决了不,我也遇到了

没有啊,不知道怎么回事

@baiwan0
Copy link
Author

baiwan0 commented Jul 9, 2022

大哥解决了不,我也遇到了

兄弟,你修改图片尺寸了吗

@bling-bling-only
Copy link

我没有用coco数据集,图片时1024的,我的连1个epoch都训练不了,其他的跟你一样的

@baiwan0
Copy link
Author

baiwan0 commented Jul 9, 2022

我没有用coco数据集,图片时1024的,我的连1个epoch都训练不了,其他的跟你一样的

你尝试一下,把图片尺寸先改回来640试试,我改640可以了

@bling-bling-only
Copy link

你的训练指令是什么能贴一下吗

@baiwan0
Copy link
Author

baiwan0 commented Jul 9, 2022

你的训练指令是什么能贴一下吗

我就直接 python train.py

@YaoQ
Copy link

YaoQ commented Jul 9, 2022

#33 参考这修改,可以解决

@baiwan0 baiwan0 closed this as completed Jul 11, 2022
@baiwan0 baiwan0 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 11, 2022
@baiwan0 baiwan0 changed the title RuntimeError: There were no tensor arguments to this function 1 Jul 11, 2022
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