Giter Site home page Giter Site logo

Comments (6)

daa233 avatar daa233 commented on August 16, 2024

In my view, core dumped error may happen when your GPU memory is insufficient during training. Maybe you can monitor the GPU memory usage when you train it again.

Since there are no more log information, I have no more idea about it.

from generative-inpainting-pytorch.

Adhiyaman-Manickam avatar Adhiyaman-Manickam commented on August 16, 2024

Thanks for your reply.
I have used linux server.
I have checked. I have a enough GPU memory.
Is this problem due to stack (torch.stack and python code) or linux server (i,e gpu)
It is working on single gpu but not muliti gpu.

dump1

from generative-inpainting-pytorch.

daa233 avatar daa233 commented on August 16, 2024

I didn't meet this problem when training on multi-GPUs so far. The code has been tested on PyTorch 1.0.1 and PyTorch 1.2.

You'd better post more information about the error trace (although I know sometimes core dump errors give little information). It will save a lot of time if you can locate which line caused the error. Maybe you can try to debug or print some log by inserting some code.

Since it is possibly caused by torch.stack, maybe you can check this visualization code under your settings.

from generative-inpainting-pytorch.

Adhiyaman-Manickam avatar Adhiyaman-Manickam commented on August 16, 2024

Thank you so much for you prompt reply. I will try my level best to fix the issues as per your directions.
Thanks.

from generative-inpainting-pytorch.

Adhiyaman-Manickam avatar Adhiyaman-Manickam commented on August 16, 2024

Hi @daa233

continue to the above issue,

I am getting the following warning, if i am starting to use multi GPU then core dumped error comes.

UserWarning: Was asked to gather along dimension 0, but all input tensors were scalars; will instead unsqueeze and return a vector. warnings.warn('Was asked to gather along dimension 0, but all

kindly, let me know, where i made a mistake.
Many thanks

from generative-inpainting-pytorch.

daa233 avatar daa233 commented on August 16, 2024

@Adhiyaman-Manickam Just as the above words, you'd better debug by yourself and find the exact line of code caused the error.

Without debugging or any information with the lines of code, it is difficult to judge just from the error.

from generative-inpainting-pytorch.

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.