Coder Social home page Coder Social logo

Comments (3)

TachibanaYoshino avatar TachibanaYoshino commented on May 29, 2024

You can refer to the issue. TachibanaYoshino/AnimeGAN#48 (comment)

from animeganv2.

ngockimhoang avatar ngockimhoang commented on May 29, 2024

@TachibanaYoshino the solution in that comment fixes the issue.
I got below traces in output
[] Reading checkpoints...
[
] Failed to find a checkpoint
[!] Load failed...
And the next step "Extract the weights of the generator" will fail with error [*] Failed to find a checkpoint, because this folder ../checkpoint/AnimeGAN_Hayao_lsgan_300_300_1_2_10_1 is missing
So I suppose this checkpoint folder is generated by the train step.
Am I still missing something in the train step?

from animeganv2.

TachibanaYoshino avatar TachibanaYoshino commented on May 29, 2024

Yes, when you run train.py to perform training, all the parameters of the network will be saved in the folder AnimeGAN_Hayao_lsgan_300_300_1_2_10_1. After the training is completed, execute get_generator_ckpt.py to obtain the weight of the generator network of your specified epoch. After getting the weight of the generator, you can use test.py to realize the function of converting pictures to animation or use video2anime.py to realize the function of converting videos to animation.
Of course, I have trained the weights of the three animation style generators. You can directly perform the function of converting pictures or videos to animation without training the network yourself.

from animeganv2.

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.