YonghaoHe / LFFD-A-Light-and-Fast-Face-Detector-for-Edge-Devices

A light and fast one class detection framework for edge devices. We provide face detector, head detector, pedestrian detector, vehicle detector......
MIT License
1.31k stars 329 forks source link

AttributeError: module 'mxnet' has no attribute 'module' #99

Open rsingh2083 opened 3 years ago

rsingh2083 commented 3 years ago

Python=3.7 Mxnet=2.0.0

python3 evaluation_on_widerface.py

----> load symbol file: ../symbol_farm/symbol_10_320_20L_5scales_v2_deploy.json
----> load model file: train_10_320_20L_5scales_v2_iter_1000000.params
[20:34:14] /home/pi/mxnet/src/nnvm/legacy_json_util.cc:209: Loading symbol saved by previous version v1.5.0. Attempting to upgrade...
[20:34:14] /home/pi/mxnet/src/nnvm/legacy_json_util.cc:217: Symbol successfully upgraded!
Traceback (most recent call last):
  File "evaluation_on_widerface.py", line 27, in <module>
    num_output_scales=cfg.param_num_output_scales)
  File "/home/pi/A-Light-and-Fast-Face-Detector-for-Edge-Devices/face_detection/accuracy_evaluation/predict.py", line 102, in __init__
    self.__load_model()
  File "/home/pi/A-Light-and-Fast-Face-Detector-for-Edge-Devices/face_detection/accuracy_evaluation/predict.py", line 116, in __load_model
    self.module = self.mxnet.module.Module(symbol=self.symbol_net,
AttributeError: module 'mxnet' has no attribute 'module'