欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

mxnet/module/base_module.py“, line 855, in forward raise NotImplementedError()

程序员文章站 2022-05-27 11:06:59
...
Traceback (most recent call last):
  File "/home/user1/pjs/frvt/mask/arcface_Siamese_offline/recognition/train_0305.py", line 497, in <module>
    main()
  File "/home/user1/pjs/frvt/mask/arcface_Siamese_offline/recognition/train_0305.py", line 493, in main
    train_net()
  File "/home/user1/pjs/frvt/mask/arcface_Siamese_offline/recognition/train_0305.py", line 487, in train_net
    epoch_end_callback=epoch_cb)
  File "/home/user1/pjs/frvt/mask/arcface_Siamese_offline/recognition/parall_module_0310.py", line 699, in fit
    batch_end_callback(batch_end_params)
  File "/home/user1/pjs/frvt/mask/arcface_Siamese_offline/recognition/train_0305.py", line 391, in _batch_callback
    acc_list = ver_test(mbatch)
  File "/home/user1/pjs/frvt/mask/arcface_Siamese_offline/recognition/train_0305.py", line 346, in ver_test
    None, None)
  File "/home/user1/pjs/frvt/mask/arcface_Siamese_offline/recognition/eval/verification.py", line 254, in test
    model.forward(db, is_train=False, )
  File "/home/user1/.local/lib/python2.7/site-packages/mxnet/module/base_module.py", line 855, in forward
    raise NotImplementedError()
NotImplementedError

没有定义forward函数

相关标签: MxNet # DL-报错