Skip to content

problem about test demo #7

@million1224

Description

@million1224

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions