Giter VIP home page Giter VIP logo

Comments (11)

zjhthu avatar zjhthu commented on May 29, 2024

Is there any other information given when it stops? Sometimes it will go wrong in torch.symeig but pytorch will print something.

from oanet.

sailor-z avatar sailor-z commented on May 29, 2024

image
There is no other information. It seems like a memory error.

from oanet.

zjhthu avatar zjhthu commented on May 29, 2024

It's quite weird. I should never encounter this problem recently.
Do you use the same code and data? What is your pytorch version?

from oanet.

sailor-z avatar sailor-z commented on May 29, 2024

Yes, I used the same code and data and encountered this problem. So I've integrated your dataloader into my training code, but I still encounter the same problem. My pytorch version is 1.4.

from oanet.

zjhthu avatar zjhthu commented on May 29, 2024

One possible reason I can think of is that there are some strange data that cause unexpected errors. To debug this, you can set shuffle=False and see whether the code dumps at the same data.

from oanet.

sailor-z avatar sailor-z commented on May 29, 2024

I have successfully trained one epoch so I don't think it is caused by strange data. I have googled it and it might be because one is working with a lot of data and the RAM is full, or the Python version is improper. Could you please tell me your Python version and the RAM size of your computer?

from oanet.

zjhthu avatar zjhthu commented on May 29, 2024

124G and python 3.5. You can monitor the memory usage to see whether it is because of the memory.

from oanet.

sailor-z avatar sailor-z commented on May 29, 2024

I have monitored the memory usage. Memory leak will occur if I set num_workers > 0. Someone encounters the similar error: pytorch/pytorch#13246 and I need to further debug to figure it out.

from oanet.

zjhthu avatar zjhthu commented on May 29, 2024

I retrained several models yesterday, but no memory leaks were found...

from oanet.

sailor-z avatar sailor-z commented on May 29, 2024

I've retrained you method and successfully reproduced the results reported in your paper. Thanks for your help.

from oanet.

zjhthu avatar zjhthu commented on May 29, 2024

So, did you find the reason for the segmentation fault?

from oanet.

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.