SSD300 train throw gradients error
See original GitHub issueHi
I tried used the SSD300 model, subsampled the weights to players detection (just 2 labels : persons and background) and train on my own dataset.
When i run model.fit_generator function, i got error 👍 `
An operation has
None for gradient. Please make sure that all of your ops have a gradient defined (i.e. are differentiable). Common ops without gradient: K.argmax, K.round, K.eval.
I tried search and solved in the functions definition, but didn’t success with that.
I uploaded my temp code to : https://github.com/amichayfeldman/SSD/blob/master/temp
Any help for that? Thanks
`
Issue Analytics
- State:
- Created 5 years ago
- Comments:7
Top Results From Across the Web
SSD300 train throw gradients error issue - PythonTechWorld
SSD300 train throw gradients error. Hi. I tried used the SSD300 model, subsampled the weights to players detection (just 2 labels : persons...
Read more >Index out of range using input dim 0; input has only 0 ... - GitHub
... and it throws an InvalidArgumentError the moment I start the training. ... input has only 0 dims" during ssd300 model training #375....
Read more >Auto Grad Accum - Composer
Too low, and your model may throw a CUDA Out of Memory (OOM) error. Finding that magical combination of gradient accumulation, batch size,...
Read more >Detecting Faulty Tape-around Weatherproofing Cables by ...
detections of errors among radio cabinets are crucial. ... SSD300[4] ... the training time, but it will better find the direction of the...
Read more >MATLAB Answers - MathWorks
i try to train a faster rcnn detector, but i got some error like this: Error using . ... DAGNetwork/computeGradientsForTraining/efficientBackProp (line 748).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
First of all’ try change ‘inference mode’ to ‘training’. Secondly, i iterate over the layers and define which layers i want to train. Somehow this “solved” my issue (i assume that one of the first layers that i finally didnt train caused to the issue)
@amichayfeldman Did you resolve your problem? I have the same problem if I use inference mode and I try to do fit_generator.