GithubHelp home page GithubHelp logo

Saving model about couta HOT 4 CLOSED

xuhongzuo avatar xuhongzuo commented on July 29, 2024
Saving model

from couta.

Comments (4)

Eric-Simon-IA avatar Eric-Simon-IA commented on July 29, 2024 1

Well I managed to make something work now, by saving state_dict, dim and c, but not sure if it's the best way to do that

from couta.

xuhongzuo avatar xuhongzuo commented on July 29, 2024 1

Hi @Eric-Simon-IA, I just added model save and load to couta_algo.py. You can now assign save_model_path and load_model_path when initializing COUTA to realize saving the trained network or loading of the fitted network. I also update a section in the Readme.md.

Thanks again for raising this issue and sorry for the late update.
I will close this issue, and if you have any further problems related to this problem, please feel free to reopen it.

Cheers! Hope you have a wonderful week!

from couta.

Eric-Simon-IA avatar Eric-Simon-IA commented on July 29, 2024 1

Thank you, will look at it when I manage to get some free time.
Hope you have a nice week as well !

from couta.

xuhongzuo avatar xuhongzuo commented on July 29, 2024

Thanks for raising this issue. I will add model saving and loading into the notebook file.
Yes, saving state_dict of the network, the center c, and the dimensionality dim seems to be a good solution.

from couta.

Related Issues (3)

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.