NVIDIA / MinkowskiEngine

Minkowski Engine is an auto-diff neural network library for high-dimensional sparse tensors
https://nvidia.github.io/MinkowskiEngine
Other
2.43k stars 360 forks source link

gradient backward question #578

Open yxmt-oss opened 7 months ago

yxmt-oss commented 7 months ago

We want to utilize the gradient information of the coordinates in the SparseTensor type to generate adversarial samples. However, after training the model and performing backpropagation using the loss function, the gradient of the coordinates in the SparseTensor is None, while the gradient of the features is not None. How should we address this issue?