-
Notifications
You must be signed in to change notification settings - Fork 44
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
Error using importDarknetNetwork (line 31) Cannot open file: weights/darknet19.weights #13
Comments
You need to download darknet19.weights and place it in your "weights" folder. |
I've done it but i still get this error: Error in importDarknetWeights (line 30) Error in newyolo (line 19) |
@Hind-colla seems like you need this file and place it in your cfg folder. https://github.com/pjreddie/darknet/blob/master/cfg/yolov3-tiny.cfg |
Oh Thank you. I see i was not on the right path. it start runing then it gives me this new error: Error in importDarkNetLayers (line 372) Error in importDarknetWeights (line 30) Error in newyolo (line 19) |
I think you're supposed to use this cfg file instead, not the one I linked earlier. https://github.com/cuixing158/yolov3-yolov4-matlab/blob/master/cfg/yolov3-tiny.cfg |
I'm really sorry, i have a new error again :( i'm so sorry can you help me please: Error in yolov3Layer (line 54) Error in importDarkNetLayers (line 372) Error in importDarknetWeights (line 30) Error in nouveux (line 19) |
Solution is here #11 |
That's very nice thank you for your help. I still have issues with this function. I have removed the 'arc' form Yolo's funtion : Error in yolov3Layer (line 65) |
Try removing line 65. It's trying to access arc in layer.arc which doesn't exist anymore since you removed it up on line 25. |
I don't know how to thank you. Now i'm having this error: Error using importDarknetWeights (line 36) Error in nouveux (line 19) These mistakes will never end :( |
Look at the error "Cannot open file: ./weights/yolov3-tiny.weights" |
I guess i should check if i have the file? but i don't have it. I'm new to this so that's why i don't understand very much |
I download it it's working know. Thank you so much |
Hello sur, i'm sorry i need your help one more time. When i run :[gradients,boxLoss,objLoss,clsLoss,totalLoss,state] = dlfeval(@modelGradients, model, XTrain, YTrain,yoloLayerNumber); Error in deep.internal.dlfeval (line 18) Error in dlfeval (line 41) Error in nouveux (line 94) I don't know what to do? I tried to Add to path the function but they tell me that there is to much input. Can you help me? please |
It's because its trying to use the helper function 'modelGradients' from the example Generate Synthetic Signals Using Conditional Generative Adversarial Network, which it can't find. Open up that example and just copy the 'modelGradients' function and paste at the end of your code and it should probably work. |
I've done it but i get this error : Error in deep.internal.dlfeval (line 18) Error in dlfeval (line 41) Error in nouveux (line 94) |
Hi, can anyone help me to resolve this error please:
when I try to run this line [mynet,hyperParams,numsNetParams,FLOPs] = importDarknetNetwork(cfg_file,weight_file);
I have this error
Error using importDarknetNetwork (line 31) Cannot open file: weights/darknet19.weights
The text was updated successfully, but these errors were encountered: