GithubHelp home page GithubHelp logo

About training details about im2vec HOT 6 CLOSED

DYF-AI avatar DYF-AI commented on August 22, 2024
About training details

from im2vec.

Comments (6)

preddy5 avatar preddy5 commented on August 22, 2024

Hey @DYF-AI
i) Yes there are only a few images in the emojis dataset.
ii) Yes the training process is end-to-end. Could try training by setting https://github.com/preddy5/Im2Vec/blob/master/configs/emoji.yaml#L13 to 0
iii) Also it looks like you only have 2 curves can you recheck if https://github.com/preddy5/Im2Vec/blob/master/models/vector_vae_nlayers.py#L44 has 4 colors and 4 colors correspond to the ones in the dataset. No the results should look better. Refer to https://github.com/preddy5/Im2Vec/tree/master/logs/VectorVAEnLayers/version_110 for an example training run.

from im2vec.

DYF-AI avatar DYF-AI commented on August 22, 2024

Thank you very much for your reply, your suggestion is very effective:
ii) Yes the training process is end-to-end. Could try training by setting https://github.com/preddy5/Im2Vec/blob/master/configs/emoji.yaml#L13 to 0
image
This is the result of 185 epochs, which is much better than before,thank...

from im2vec.

DYF-AI avatar DYF-AI commented on August 22, 2024

Hey, Dear Author
Epoch 401: 100%|██████████████| 13/13 [00:07<00:00, 1.83it/s, loss=0.170, v_num=110, Reconstruction_Loss=0.0777, KLD=0, aux_loss=0, other losses=0]beta: 0.0
learning rate: 0.00029936846961918924

I have another question. I saw KLD=0, aux_loss=0, other losses=0 during training. Do these losses need to be turned on during training? In other words, will the result be better after turning it on?

from im2vec.

preddy5 avatar preddy5 commented on August 22, 2024

Hey @DYF-AI
KLD is the KL divergence loss like in a VAE
aux_loss is for the auxiliary network we discussed in the main paper.
other losses is the loss term to encourage minimal surface area for the curves.

using other_losses term after 500 epoch will improve the results a tiny bit, KLD and aux should not affect your results.

from im2vec.

DYF-AI avatar DYF-AI commented on August 22, 2024

Okay, thank you very much for your reply, this is a very interesting and meaningful project, thanks. I want to use path-to-path to generate fonts based on this project...

from im2vec.

preddy5 avatar preddy5 commented on August 22, 2024

@DYF-AI you are welcome. All the best with the project :)

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.