GithubHelp home page GithubHelp logo

unrealluver / dgcn Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 43.98 MB

Code for paper "Deep Graph Cut Network for Weakly-supervised Semantic Segmentation" (http://xinggangw.info/pubs/scis-dgcn.pdf)

Python 90.46% C++ 4.01% Cuda 4.05% Shell 1.48%

dgcn's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

dgcn's Issues

Error while loading 'datainfo/list/cls_labels.npy'

While running this project, I got an error

'''
Traceback (most recent call last):
File "/export/zhoubaicun/envs/py3_cuda101/lib/python3.7/site-packages/numpy/lib/npyio.py", line 447, in load
return pickle.load(fid, **pickle_kwargs)
_pickle.UnpicklingError: invalid load key, '\xef'.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "read.py", line 10, in
np.load("datainfo/list/cls_labels.npy", allow_pickle=True)
File "/export/zhoubaicun/envs/py3_cuda101/lib/python3.7/site-packages/numpy/lib/npyio.py", line 450, in load
"Failed to interpret file %s as a pickle" % repr(file))
OSError: Failed to interpret file 'datainfo/list/cls_labels.npy' as a pickle
'''

It seems that the file on github is corrupted.

My env:
python 3.7.9
numpy 1.19.2
ubuntu 20.04

how to generate cues?

We want to try this project with different CAM methods, but we dont know how to generate cues(localization_cues-sal.pickle).
Can you release this part code?
Thanks

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.