Open jkarolczak opened 3 years ago
I've found out, that MinkowskiEngine 0.54 doesn't work properly with PyTorch 1.9 - an issue from the description was observed by me using docker container created following your instructions. After installing ME (0.54) in a venv with PyTorch 1.10 the code (from this issue) works as intended. My colleague also claims that he also experienced the same problem while using ME (0.54) with PyTorch 1.7 and upgrading the PyTorch version to 1.10 solved his problems.
I have encountered a problem while implementing a single neuron network. I have declared two models. This one, using only PyTorch functionalities, works:
The one below, using MinkowskiEngine layer, doesn't:
By "doesn't work" I mean the only nn parameter is not optimizing, doesn't converge to 1 (which is an optimal solution). Here is my training loop:
where
blob
is a 3d mesh andy
is the sum of all values in voxels (y=blob.sum()). I also attach the source ofto_minkowski_tensor
:This problem is trivial and the model is not optimizing at all, it's quite worrying. What's more, after a while
loss
becomenan
. Did I misunderstand MinkowskiEngine docs and I made a mistake somewhere in the code above? Please kindly notice, that PyTorch implementation works sufficiently good.