GithubHelp home page GithubHelp logo

Comments (3)

qjadud1994 avatar qjadud1994 commented on June 11, 2024 2

If you use a single GPU, you should remove .module. due to the DDP wrapper.

Also, we are currently checking the ADE20K 100-50 setting.

from eclipse.

zhengyuan-xie avatar zhengyuan-xie commented on June 11, 2024

Hi, I also got this error. Do you use a single GPU? I think when a single GPU is used, the DDP training process won't be launched, so I simply change the corresponding code to:

if hasattr(self.model, "module"):
    self.model.module.copy_prompt_embed_weights()
    self.model.module.copy_mask_embed_weights()
    self.model.module.copy_no_obj_weights()
    self.model.module.copy_prompt_trans_decoder_weights() 
else: 
    self.model.copy_prompt_embed_weights()
    self.model.copy_mask_embed_weights()
    self.model.copy_no_obj_weights()
    self.model.copy_prompt_trans_decoder_weights() 

However, I got another error: RuntimeError: Global alloc not supported yet, one solution is replacing batch_dice_loss_jit with batch_dice_loss but I'm not sure whether it is correct.

from eclipse.

wendyhuang2021 avatar wendyhuang2021 commented on June 11, 2024

Yes! I used single GPU and similar code like you written. It remain 3.5 hr to finish the ADE20k 100-50 setting.
However, the author have produce error in this setting, and I cannot check if those edited harm the performance even finished above setting.
Maybe I would tried another setting later.

from eclipse.

Related Issues (8)

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.