Git Product home page Git Product logo

Comments (6)

xksteven avatar xksteven commented on August 23, 2024 1

train.py needs to be modified as per this issue to run on a single GPU.

to run on a single GPU it's

train.py --gpu 0 

as opposed to train.py --gpu 1 .

I've also uploaded the pretrained models that can be found here

Finally to run the eval_ood.py if using the default config/ade20k-resnet50dilated-ppm_deepsup.yaml and the model I've uploaded, change the num_classes parameter in the yaml file to be 13.

Thanks for pointing out the typo. I fixed it and another as well.

I've also updated the README as well to reflect these changes

from anomaly-seg.

hendrycks avatar hendrycks commented on August 23, 2024

from anomaly-seg.

julienguegan avatar julienguegan commented on August 23, 2024

Note that I follow the recommanded steps in the README and actually it may come from python create_dataset.py step, I have 'FileNotFoundError: [Errno 2] No such file or directory: 'data/train/images/test/' ... Could you give some more indications on how the repositories should be ?

from anomaly-seg.

hendrycks avatar hendrycks commented on August 23, 2024

@xksteven

from anomaly-seg.

xksteven avatar xksteven commented on August 23, 2024

I updated the repo. The error should be gone now. Pull it again or download the updated create_dataset.py and defaults file. Thanks for the bug report.

@julienguegan

from anomaly-seg.

julienguegan avatar julienguegan commented on August 23, 2024

Thanks for the update @xksteven . The previous error have disappeared but I think there is still something missing because I can't make the command python train.py works... I had to add feed_dict = feed_dict[0] in line 32 of models.py because I had a list and not a dictionnary but then I have "Input type (torch.FloatTensor) and weight type (torch.cuda.FloatTensor) should be the same". You can check link_colab if you have time

PS : I also noted one minor error in eval_ood.py : in_scores = - conf[np.logical_not(out_label))] line 51, there is one parenthesis too many

from anomaly-seg.

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.