Git Product home page Git Product logo

Comments (4)

Rainfor1 avatar Rainfor1 commented on August 29, 2024 1

Thank you very much for your answer.

I used 4 GPUs (each 12G). During the gct experiment, I found that the main GPU used for integration would exceed 12G memory. Next, i will try to solve the imbalance problem of memory by using DistributedDataParallel.

from pixelssl.

ZHKKKe avatar ZHKKKe commented on August 29, 2024

Hi, thanks for your attention.

Which GPU are you using? For PSPNet, if you use 4 GPUs for training, the GCT algorithm requires about 12G memory (each GPU). I have tried to optimize the algorithm, but it still requires a lot of memory during training.
If you change the im_size to 321, the performance may be decreased.

Is it possible for you to use 8 GPUs for training? If so, in the script pspnet_pascalvoc_1-8_sslgct.py, you can change:

('lr', 0.00025),
('batch_size', 4),
('unlabeled_batch_size', 2), 

to

('lr', 0.000125),
('batch_size', 2),
('unlabeled_batch_size', 1), 

You can also use the results reported by us. For PSPNet + GCT under 1/2 label, the SSL performance is 73.92. This results will be uploaded soon.

from pixelssl.

ZHKKKe avatar ZHKKKe commented on August 29, 2024

Yes. If you use DistributedDataParallel, the memory will be balanced better. I am sorry that I do not have time to implement it recently.

from pixelssl.

Rainfor1 avatar Rainfor1 commented on August 29, 2024

Thank you again.

from pixelssl.

Related Issues (10)

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.