While trying to run the following:
python3 custom_detector.py --image "/home/nvr/rushad7/mask-detection/images/example_01.png" --config "/home/nvr/rushad7/mask-detection/cfg/yolov3-custom.cfg" --weights "/home/nvr/rushad7/mask-detection/weights/yolov3-custom_final.weights" --names "/home/nvr/rushad7/mask-detection/class_names/voc.names"
I get the following error:
Traceback (most recent call last):
File "custom_detector.py", line 18, in <module>
net = cv2.dnn.readNetFromDarknet(args.config, args.weights)
cv2.error: OpenCV(4.3.0-openvino) ../opencv/modules/dnn/src/darknet/darknet_io.cpp:847: error: (-213:The function/feature is not implemented) Transpose the weights (except for convolutional) is not implemented in function 'ReadDarknetFromWeightsStream'
I opened the weights file and it seems to have a git lfs download link and oid...
How do I download the real weights file?
UPDATE:
git lfs fetch
fetch: Fetching reference refs/heads/master
batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.
error: failed to fetch some objects from 'https://github.com/rushad7/mask-detection.git/info/lfs'
@rushad7
While trying to run the following:
I get the following error:
I opened the weights file and it seems to have a git lfs download link and oid...
How do I download the real weights file?
UPDATE:
@rushad7