Giter VIP home page Giter VIP logo

Comments (6)

fartashf avatar fartashf commented on June 14, 2024 1

Not necessarily. Even if the image encoder is not being trained, dropout might help in training robust embeddings.

from vsepp.

fartashf avatar fartashf commented on June 14, 2024

Try learning rate 0.00002. Look at section 3.2 for more details of training.

from vsepp.

136823xuewei avatar 136823xuewei commented on June 14, 2024

Thanks for your reply!

from vsepp.

shengyuzhang avatar shengyuzhang commented on June 14, 2024

@136823xuewei Did you succeed in getting good results using raw images and finetuning rather than using precomputed features?

@fartashf I trained on the COCO dataset without precomputed features but failed to get good results (@1 less than 1.). Using precomputed features is all good.

The learning rate is 0.00002 when training on raw images.

Could someone help me?

from vsepp.

fartashf avatar fartashf commented on June 14, 2024

I can still reproduce the result of the following command using the latest commit on the master:

python train.py --data_name coco --logger_name runs/X --max_violation

It takes at least 1000 iterations to reach above 1% R@1 that is expected.

By default the learning rate is 0.0002. I reproduced it using python 2.7.14 and pytorch 0.3.1. For python 3 and pytorch 1 checkout the details on their corresponding branches.

from vsepp.

winnechan avatar winnechan commented on June 14, 2024

if we fix the image full encoder in the first epoch and train the joint embedding model, do we need to write some code to force the image cnn encoder always in evaluation mode? i.e. no dropout and ...

from vsepp.

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.