NeLy-EPFL / DeepFly3D

Motion capture (markerless 3D pose estimation) pipeline and helper GUI for tethered Drosophila.
GNU Lesser General Public License v3.0
89 stars 17 forks source link

'Namespace' object has no attribute 'max_img_id' #33

Closed lengyuner closed 3 years ago

lengyuner commented 3 years ago

When I try to run the code following

python deepfly/pose2d/drosophila.py --resume ./weights/sh8_mpii.tar --unlabeled ./data/test

It comes out this error

Traceback (most recent call last):
  File "deepfly/pose2d/drosophila.py", line 542, in <module>
    main(args)
  File "deepfly/pose2d/drosophila.py", line 354, in main
    max_img_id=min(get_max_img_id(args.unlabeled), args.max_img_id),
AttributeError: 'Namespace' object has no attribute 'max_img_id'