Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'NoneType' object has no attribute 'shape' #49

Open
GUZ-lkc2018 opened this issue Jun 18, 2020 · 1 comment
Open

AttributeError: 'NoneType' object has no attribute 'shape' #49

GUZ-lkc2018 opened this issue Jun 18, 2020 · 1 comment

Comments

@GUZ-lkc2018
Copy link

GUZ-lkc2018 commented Jun 18, 2020

First of all, thank you very much for sharing the code.When I run python test_detection.py --weights_path=checkpoints/yolov3_ckpt_epoch-298.pth --model_def=config/complex_yolov3.cfg --folder=training --split=valid
Namespace(class_path='data/classes.names', conf_thres=0.5, folder='training', img_size=608, model_def='config/complex_yolov3.cfg', nms_thres=0.5, split='valid', weights_path='checkpoints/yolov3_ckpt_epoch-298.pth')
Load TEST samples from data/KITTI/object/training
Done: total TEST samples 1481
FPS: 6.50
Traceback (most recent call last):
File "test_detection.py", line 172, in
objects_pred = predictions_to_kitti_format(img_detections, calib, img2d.shape, opt.img_size)
AttributeError: 'NoneType' object has no attribute 'shape'

How can I solve this problem? Can you give me some advices?

@DeepLil
Copy link

DeepLil commented May 6, 2022

hello @GUZ-lkc2018 , did this issue resolved? I'm facing the same issue.. Could you please help me? @ghimiredhikura

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants