Git Product home page Git Product logo

Comments (5)

Yaoyi-Li avatar Yaoyi-Li commented on August 23, 2024

My suggestion is to modify the *.toml file instead. Config.py only has default values and will be overwrited by *.toml.
I think the code will only print config details once by default, but in your logs there are two different configurations. Does that mean the code print config details twice at the same time?
It will be helpful if you can provide more information about how you modified config.py.
It looks like you assigned values to global variables like 'gpu': [0, 1]. The value of these global variables will be overwritten by the code at runtime, so you dont need to set these values.

from gca-matting.

kelisiya avatar kelisiya commented on August 23, 2024

from gca-matting.

kelisiya avatar kelisiya commented on August 23, 2024

I found the error from docker .
But I have a new question, why do I train the model has 302.7MB , but gca-dist is 101.3MB?

from gca-matting.

Yaoyi-Li avatar Yaoyi-Li commented on August 23, 2024

Yes, the checkpoint will be ~300MB if you saved all the states in your optimizer by default. I removed the Adam state_dict from the pretrained model provided in this repository to save some space.

from gca-matting.

stevesrh avatar stevesrh commented on August 23, 2024

when I modified *toml file , I have a same problem about the FileNotFoundError: [Errno 2] No such file or directory: '/home/liyaoyi/dataset/coco_bg' . Can you tell me some suggestions to solve this problem ? thanks a lot. @kelisiya @

from gca-matting.

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.