GithubHelp home page GithubHelp logo

PSANet is stuck in modeling about semseg HOT 5 CLOSED

hszhao avatar hszhao commented on June 28, 2024
PSANet is stuck in modeling

from semseg.

Comments (5)

eugenelawrence avatar eugenelawrence commented on June 28, 2024 3

I have worked it out, so I close the issue.

How to solve it?

I solve it by removing the build_directory in lib/psa/src/__init__.py

from semseg.

hszhao avatar hszhao commented on June 28, 2024

Maybe you can post some log information during the building process. And also the versions of different packages.

from semseg.

eugenelawrence avatar eugenelawrence commented on June 28, 2024

I try to debug the process, and I find that it is stuck in from model.psanet import PSANet. Then I cut down the process, and it shows:

Traceback (most recent call last):
File "", line 1, in
File "/home/X/semseg/model/psanet.py", line 5, in
import lib.psa.functional as PF
File "/home/X/semseg/lib/psa/functional.py", line 3, in
from . import functions
File "/home/X/semseg/lib/psa/functions/init.py", line 1, in
from .psamask import *
File "/home/X/semseg/lib/psa/functions/psamask.py", line 3, in
from .. import src
File "/home/X/semseg/lib/psa/src/init.py", line 18, in
], build_directory=gpu_path, verbose=False)
File "/home/X/local/anaconda/envs/X/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 645, in load
is_python_module)
File "/home/X/local/anaconda/envs/X/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 818, in _jit_compile
baton.wait()
File "/home/X/local/anaconda/envs/X/lib/python3.6/site-packages/torch/utils/file_baton.py", line 49, in wait
time.sleep(self.wait_seconds)

It seems that the process is stuck in a lock. Can you provide some advice for solving the problem or outputting more information? @hszhao

Environments:
Centos7
CUDA10
Python3.6
Pytorch1.0

from semseg.

eugenelawrence avatar eugenelawrence commented on June 28, 2024

I have worked it out, so I close the issue.

from semseg.

Hydrogenion avatar Hydrogenion commented on June 28, 2024

I have worked it out, so I close the issue.

How to solve it?

from semseg.

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.