Git Product home page Git Product logo

Comments (7)

Felix-FN avatar Felix-FN commented on May 30, 2024 1

Yeah no problem.
I have nearly 200k images to train from.

Because of that size it took nearly 24h for 3 epochs on a A100 GPU.

It took maybe 5-8 epochs each to see some quite good results on that low resolution.
If you want a batter resolution you maybe need to add a second UNet to enhance it.

from dalle2-pytorch.

xiaomei2002 avatar xiaomei2002 commented on May 30, 2024 1

Thank you very much for your answer, which gave me a great help!!! :)

from dalle2-pytorch.

Felix-FN avatar Felix-FN commented on May 30, 2024

Update:
Got it running, but receive pure noise as output. Any tips?

from dalle2-pytorch.

xiaomei2002 avatar xiaomei2002 commented on May 30, 2024

hey, did you get the correct output without noise? I still dont know how to run the code, would you please provide your train code? thanks!!

from dalle2-pytorch.

Felix-FN avatar Felix-FN commented on May 30, 2024

Hello, yes.

I'm still an amateur, but I got it working.

Attached is basically my whole model. There are definitely a few inconsistencies, but after I put DallE together, it produces images as I envisioned them.

You can read about how to "assemble" DallE here: #282

You load the trainer checkpoints as in the code I provided and add a ["model"] after it as follows: torch.load(checkpoint_path)['model']

Thats it.

Model.zip

from dalle2-pytorch.

xiaomei2002 avatar xiaomei2002 commented on May 30, 2024

Thank you very much! It helps me a lot!!
By the way, how many images does your dataset have? How many epochs does it take to get a good result?
I was a complete newcomer and had no idea about any of this.
It would be great if you could answer me!!^ ^

from dalle2-pytorch.

Felix-FN avatar Felix-FN commented on May 30, 2024

FIY: had an Error in the Priortrainer. You need to insert text_loader = iter(text_dataset) image_loader = iter(image_dataset) one loop above. After: for epoch in range(num_epochs):

Otherwise you would just train your Prior from one image the whole time...

from dalle2-pytorch.

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.