Hi guys,
tlt-infer get an error:
Traceback (most recent call last):
File "/usr/local/bin/tlt-infer", line 10, in <module>
sys.exit(main())
File "./common/magnet_infer.py", line 26, in main
File "./makenet/scripts/inference.py", line 185, in main
File "./makenet/scripts/inference.py", line 159, in inference
File "./makenet/scripts/inference.py", line 93, in load_image_batch
ValueError: could not broadcast input array from shape (3,300,224) into shape (3,224,300)
My command is:
%env EPOCH=080
!tlt-infer classification -m $USER_EXPERIMENT_DIR/output_retrain/weights/resnet_$EPOCH.tlt \
-k $KEY -b 32 -d $DATA_DOWNLOAD_DIR/test/male \
-cm $USER_EXPERIMENT_DIR/output_retrain/classmap.json
How can I fix it?
Thanks