Giter VIP home page Giter VIP logo

Comments (7)

preddy5 avatar preddy5 commented on August 24, 2024

Hey @evancasey
This tends to happen with high learning rates, could you try decreasing the learning rate https://github.com/preddy5/Im2Vec/blob/master/configs/emoji.yaml#L23 to 0.0001 and see if the changes anything.

from im2vec.

evancasey avatar evancasey commented on August 24, 2024

I'm starting to see better results after reducing LR to 0.0001, however it takes much longer to train than your logged results. Would you suggest tuning LR some more or are there any other hyperparameters that come to mind?

from im2vec.

evancasey avatar evancasey commented on August 24, 2024

recons_VectorVAEnLayers_0547
After 500 epochs, LR=0.0001

from im2vec.

evancasey avatar evancasey commented on August 24, 2024

After 2000 epochs it still does not converge

from im2vec.

preddy5 avatar preddy5 commented on August 24, 2024

Hey @evancasey I think you might have to tune the LR a bit, could you try 0.0002 maybe, also increasing https://github.com/preddy5/Im2Vec/blob/master/configs/emoji.yaml#L8 the radius helps with the initial part of the optimization maybe try 20. Hopefully, this helps with the optimization.

from im2vec.

Emasoft avatar Emasoft commented on August 24, 2024

Same here. Tried everything. Almost 3000 epochs and it still does not converge.
There are 3 logical possibilities:
1 - The code in this repository is not the one used in the paper (i.e. notebooks?)
2 - There is a secret way to tune those parameters with a separate tool/script
3 - The results in the paper are made up
Excluding the third, both the 1st and the 2nd explanations are easy to solve.
You just need to merge/add the source code of the notebook or of the tool with this repo.
Are you still under deadlines? I hope you will find a moment to fix this. This is an important work.
Thanks. 👍

from im2vec.

preddy5 avatar preddy5 commented on August 24, 2024

Hey @Emasoft
There are many reasons why the network might not have converged when you train it. 
The repo includes an example training run please use that for debugging your training. For each new training run, the code also creates a copy of the training code in the log directory, so the example training run also contains a backup of the code used for that specific training and trained weights, you can use them for debugging as well. 

Hope that helps.

from im2vec.

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.