Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

problem about test demo #7

Open
million1224 opened this issue Jun 21, 2021 · 0 comments
Open

problem about test demo #7

million1224 opened this issue Jun 21, 2021 · 0 comments

Comments

@million1224
Copy link

with torch.no_grad():
corr4d, feature_A_2x, feature_B_2x, fs1, fs2, fs3, fs4 = eval_model_reloc(
model,
{'source_image':src,
'target_image':tgt}
)

It has errors that
/usr/local/lib/python3.7/dist-packages/MinkowskiEngine/MinkowskiSparseTensor.py in init(self, features, coordinates, tensor_stride, coordinate_map_key, coordinate_manager, quantization_mode, allocator_type, minkowski_algorithm, requires_grad, device)
264 assert (
265 features.is_cuda == coordinates.is_cuda
--> 266 ), "Features and coordinates must have the same backend."
267
268 coordinate_map_key = CoordinateMapKey(

AssertionError: Features and coordinates must have the same backend.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant