You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
Hi, I am trying to define a custom op to replace SoftmaxOutput since I want to weighted loss value before mx.make_loss. However, I encountered the Exception shown below:
Traceback (most recent call last):
File "detection_train.py", line 307, in <module>
train_net(parse_args())
File "detection_train.py", line 289, in train_net
profile=profile
File "/mnt/truenas/scratch/czh/kl_baseline/core/detection_module.py", line 1010, in fit
Error in CustomOp.backward: Traceback (most recent call last):
File ".../mxnet_xyxy/python/mxnet/operator.py", line 1022, in backward_entry
stype=stype))
File ".../mxnet_xyxy/python/mxnet/ndarray/sparse.py", line 1187, in _ndarray_cls
raise Exception("unknown storage type: %s"%stype)
Exception: unknown storage type: -1
The version of mxnet is 1.6.0.
Here is the custom op I defined:
Hi, I am trying to define a custom op to replace
SoftmaxOutput
since I want to weighted loss value before mx.make_loss. However, I encountered the Exception shown below:The version of mxnet is 1.6.0.
Here is the custom op I defined:
The text was updated successfully, but these errors were encountered: