Giter Site home page Giter Site logo

Comments (6)

lzx1413 avatar lzx1413 commented on May 16, 2024 8

You can replace net.module.size with net.size. Module will be added if you train the network with multi-gpus.

from pytorchssd.

Wondersui avatar Wondersui commented on May 16, 2024

I have solved it,thank you^ ^

from pytorchssd.

Wondersui avatar Wondersui commented on May 16, 2024

I have another problem,when I use the train_test.py to train the voc dataset,it will stop in the Epoch3

Epoch:3 || epochiter: 1974/2068|| Totel iter 6110 || L: 1.5484 C: 3.7036||Batch time: 0.4011 sec. ||LR: 0.00050000
Epoch:3 || epochiter: 1984/2068|| Totel iter 6120 || L: 1.4901 C: 3.6711||Batch time: 0.4020 sec. ||LR: 0.00050000
Epoch:3 || epochiter: 1994/2068|| Totel iter 6130 || L: 1.4994 C: 3.7394||Batch time: 0.4352 sec. ||LR: 0.00050000
Epoch:3 || epochiter: 2004/2068|| Totel iter 6140 || L: 1.6116 C: 3.2869||Batch time: 0.4009 sec. ||LR: 0.00050000
Epoch:3 || epochiter: 2014/2068|| Totel iter 6150 || L: 1.5345 C: 3.8280||Batch time: 0.3992 sec. ||LR: 0.00050000
Epoch:3 || epochiter: 2024/2068|| Totel iter 6160 || L: 1.4239 C: 3.6214||Batch time: 0.4073 sec. ||LR: 0.00050000
Epoch:3 || epochiter: 2034/2068|| Totel iter 6170 || L: 1.5346 C: 3.4771||Batch time: 0.4425 sec. ||LR: 0.00050000
Epoch:3 || epochiter: 2044/2068|| Totel iter 6180 || L: 1.4747 C: 3.6433||Batch time: 0.4029 sec. ||LR: 0.00050000
Epoch:3 || epochiter: 2054/2068|| Totel iter 6190 || L: 1.5019 C: 3.6043||Batch time: 0.4037 sec. ||LR: 0.00050000
Epoch:3 || epochiter: 2064/2068|| Totel iter 6200 || L: 1.3754 C: 3.5850||Batch time: 0.3989 sec. ||LR: 0.00050000

like this,it can not go on.what is the problem about this?

from pytorchssd.

lzx1413 avatar lzx1413 commented on May 16, 2024

I haven't met this problem. What's you pytorch version?

from pytorchssd.

Wondersui avatar Wondersui commented on May 16, 2024

I used the pytorch 0.3.1 to run the code.

from pytorchssd.

lzx1413 avatar lzx1413 commented on May 16, 2024

@Wondersui
add

import cv2
cv2.setNumThreads(0)  # pytorch issue 1355: possible deadlock in dataloader

may solve the problem

from pytorchssd.

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.