GithubHelp home page GithubHelp logo

Comments (3)

zhengyang-wang avatar zhengyang-wang commented on July 23, 2024

Note that we are using transfer learning here. The encoder is a pre-trained model on ImageNet. The pre-training uses a much larger batch size (32, 64, 128, etc.) than the batch size here (10). The batch normalization relies on a large batch size. In addition, the number of images in ImageNet is much larger than that in PASCAL. As a result, we choose to fix the batch normalization parameters (gamma & beta).

from deeplab-v2--resnet-101--tensorflow.

alldbi avatar alldbi commented on July 23, 2024

Thank you for your comment. This thing reduces the reusability of your code. So please add a comment to your main readme file and declare that for training your model from scratch, it is needed to change the batch normalization's training flag.

from deeplab-v2--resnet-101--tensorflow.

zhengyang-wang avatar zhengyang-wang commented on July 23, 2024

Thanks for your suggestion. The reusability depends. For natural image segmentation on datasets like PASCAL, where transfer learning is applied, this is just a standard setting (Deeplab v2, R-CNN, etc.). Training from scratch (without pre-training) is not possible here.

If you have your own dataset, it may not be a good idea to use such a deeper encoder unless you have enough training images. U-net may be a better choice.

from deeplab-v2--resnet-101--tensorflow.

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.