Giter Site home page Giter Site logo

Comments (10)

lucidrains avatar lucidrains commented on May 24, 2024

@iboates perfect timing! I'm about to add an experimental feature that may (or may not) help you train for longer and achieve more detail! you are my perfect guinea pig :)

from stylegan2-pytorch.

lucidrains avatar lucidrains commented on May 24, 2024

leave this open, i'll leave you with instructions by end of day

from stylegan2-pytorch.

iboates avatar iboates commented on May 24, 2024

That's great. I'm also researching some options for more efficient training - do you use AWS for training anything? I was thinking about buying some time on an EC2 GPU instance.

from stylegan2-pytorch.

lucidrains avatar lucidrains commented on May 24, 2024

@iboates in the end, i found it most cost effective just to invest in a couple top-of-the-line GPUs

from stylegan2-pytorch.

lucidrains avatar lucidrains commented on May 24, 2024

@iboates what resolution is your map data trained on?

from stylegan2-pytorch.

iboates avatar iboates commented on May 24, 2024

I'm doing 256x256, that size seemed sufficient to capture the map features I wanted at an appropriate level of detail. I was hoping to one day drop some big bucks and go all-out on a 1024x1024 model, once I was sure that the process would work.

from stylegan2-pytorch.

lucidrains avatar lucidrains commented on May 24, 2024

@iboates 1024x1024 is out of reach for most people, even for people with a ton of compute

256x256 is good! let me get back to you on that new feature that may or may not work lol

from stylegan2-pytorch.

lucidrains avatar lucidrains commented on May 24, 2024

@iboates the feature is ready! to try it, just upgrade the package and add a --cl-reg flag. it should take slightly longer to train, but if it works as expected on your end, it should train for longer, and perhaps result in better quality

from stylegan2-pytorch.

iboates avatar iboates commented on May 24, 2024

I am trying it and it seems to make it take approximately 5s per iteration, as opposed to (if I recall correctly) about 1.8s per iterations without the flag. I think in order to train this I will have to deploy to a paid solution or try to get my hands on a fancy gaming laptop at my office (which is hard now because of the quarantine...)

Follow up: Actually it seems to now be running at about 2.3 s per iteration which is much more manageable. I find that with Colab it almost feels like it needs to "warm up", as it will start with higher processing times but then get better after a couple hours or so. Maybe it is because I have mounted my Google Drive directly and it's not actually block storage, so it takes time to build a cache for request to my training folder. Anyway, I'm excited to see if this improves my results, I guess I'll know more in a week haha

from stylegan2-pytorch.

lucidrains avatar lucidrains commented on May 24, 2024

yup! that sounds about right! let me know :)

from stylegan2-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.