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

code error #5

Open
0belle opened this issue Nov 13, 2022 · 1 comment
Open

code error #5

0belle opened this issue Nov 13, 2022 · 1 comment

Comments

@0belle
Copy link

0belle commented Nov 13, 2022

File "project/mvtec_3d/feature_extractors/features.py", line 101, in run_coreset
self.patch_lib = torch.cat(self.patch_lib, dim = 0)
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].

@kywish
Copy link

kywish commented Jun 12, 2023

Because u didn't load the data successfully?
Set your data path here.

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