Giter Club home page Giter Club logo

Comments (8)

lonelywm avatar lonelywm commented on July 27, 2024

[Epoch 16/30, Batch 4400/7329] [Losses: x 0.013750, y 0.013628, w 0.003818, h 0.003543, conf 0.037071, cls 0.005950, total 0.077760, recall: 0.61353]
[Epoch 16/30, Batch 4410/7329] [Losses: x 0.008723, y 0.008725, w 0.002754, h 0.001924, conf 0.028565, cls 0.003257, total 0.053949, recall: 0.62105]

==================
before saving img I print the len:

print(len(detections) if detections is not None else 0)

Saving images:
(0) Image: 'data/samples/dog.jpg'
0
(1) Image: 'data/samples/eagle.jpg'
0
(2) Image: 'data/samples/giraffe.jpg'
0
(3) Image: 'data/samples/herd_of_horses.jpg'
0
(4) Image: 'data/samples/img1.jpg'
0
(5) Image: 'data/samples/img2.jpg'
0
(6) Image: 'data/samples/img3.jpg'
0
(7) Image: 'data/samples/img4.jpg'
0
(8) Image: 'data/samples/messi.jpg'
0
(9) Image: 'data/samples/person.jpg'
0

from pytorch-yolov3.

Ricardozzf avatar Ricardozzf commented on July 27, 2024

@lonelywm have u solved it?

from pytorch-yolov3.

lonelywm avatar lonelywm commented on July 27, 2024

yes

from pytorch-yolov3.

Ricardozzf avatar Ricardozzf commented on July 27, 2024

@lonelywm would you mind sharing the detail how you solve it? I have been confused with it for a long time. :(

from pytorch-yolov3.

lonelywm avatar lonelywm commented on July 27, 2024

I just use L1_Loss instead of bceloss for x y w h

from pytorch-yolov3.

Ricardozzf avatar Ricardozzf commented on July 27, 2024

@lonelywm Thanks for your reply.

I will try it as you suggest.

from pytorch-yolov3.

KorovkoAlexander avatar KorovkoAlexander commented on July 27, 2024

@lonelywm have u solved it?
Hi. Looks like i solved the issue with nans in model output after training simply by playing with learning rate. I set it to 0.01.

from pytorch-yolov3.

eriklindernoren avatar eriklindernoren commented on July 27, 2024

Hi, let's keep training issues in #2.

from pytorch-yolov3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.