Giter VIP home page Giter VIP logo

Comments (14)

hillaric avatar hillaric commented on June 29, 2024 1

image

from pvnet.

hillaric avatar hillaric commented on June 29, 2024

Use nn.functional.interpolate instead.
warnings.warn("nn.Upsampling is deprecated. Use nn.functional.interpolate instead.")
Segmentation fault (core dumped)

from pvnet.

hillaric avatar hillaric commented on June 29, 2024

so can I modifie the upsampling in the model_repository.py

from pvnet.

pengsida avatar pengsida commented on June 29, 2024

Yes

from pvnet.

hillaric avatar hillaric commented on June 29, 2024

what value should I take for the scale_factor(0.5 ?), and I think you can rewrite the network.

from pvnet.

hillaric avatar hillaric commented on June 29, 2024

I has tried, but the problem of Segmentation fault is not solved

from pvnet.

pengsida avatar pengsida commented on June 29, 2024

In pytorch v0.4.1, it is just a warning and won't cause errors.
For this case, I suppose that you cannot run other pytorch codes either.

from pvnet.

hillaric avatar hillaric commented on June 29, 2024

And why there existes a segmentation fault ? I use gdb to debug, the problem is __gnu_cxx, but I do not know how to make it?

from pvnet.

pengsida avatar pengsida commented on June 29, 2024

It is a pytorch problem, and I don't know why.

from pvnet.

DHNicoles avatar DHNicoles commented on June 29, 2024

I also encountered the same problem and also used the GDB debugging tool. The error is located in a layer called _UP, which crashes when the forward function is executed.
image

[The system environment is centos7.2, the gcc version is 4.8.5, the python version is 3.6.8, and the torch version is 0.4.1.]

from pvnet.

pengsida avatar pengsida commented on June 29, 2024

The problem means you cannot run 'nn.upsampling()', which is exactly a pytorch problem.

from pvnet.

DHNicoles avatar DHNicoles commented on June 29, 2024

I also encountered the same problem and also used the GDB debugging tool. The error is located in a layer called _UP, which crashes when the forward function is executed.
image

[The system environment is centos7.2, the gcc version is 4.8.5, the python version is 3.6.8, and the torch version is 0.4.1.]

Solved: upgrade gcc version to 5.4.0.

from pvnet.

zeal-up avatar zeal-up commented on June 29, 2024

@DHNicoles I encountered the same problem -- segmentation fault. And my GPU is RTX, so I have to use pytorch 1.x according to the author. Can you give me more details about how did you solve this problem? My gcc version is 5.4.0.

from pvnet.

DHNicoles avatar DHNicoles commented on June 29, 2024

@zeal-github It's better to check again if you have a strict configuration according to the author's requirements.

from pvnet.

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.