Git Product home page Git Product logo

Comments (6)

mingyuliutw avatar mingyuliutw commented on May 10, 2024 1

@HsinYingLee and @milankolkata I think the code is now working properly in pytorch 0.4 now.

We spent sometime in the past few days playing with this summer2winter_yosemite256. We found that when enabling explicit cycle consistency loss, the model converges faster and better. The new config file can be found in configs/summer2winter_yosemite256_folder.yaml .

from munit.

qilimk avatar qilimk commented on May 10, 2024

@HsinYingLee I also have the similar problem, how many images do you have in your training set(trainA and trainB)?

from munit.

HsinYingLee avatar HsinYingLee commented on May 10, 2024

@milankolkata According to the the recent commit, the degraded issue is due to setting <track_running_stats=True> for instance normalization. I haven't tried the updated code yet but I believe the problem should be fixed.

from munit.

qilimk avatar qilimk commented on May 10, 2024

@HsinYingLee Thanks for mentioning it. I am trying the new code. How many images did you use when training the model?

from munit.

mingyuliutw avatar mingyuliutw commented on May 10, 2024

@milankolkata In the commit 972e42, the custom layernorm only supports one image per batch. With the new commit 4c21350, it supports multiple images per batch. However, the time required for each iteration would increase about 4 times when you use a batch size greater than 1. (This is due to the change of the way pytorch implements view function in 0.4. For training with batch size greater than 1, please roll back to pytorch 0.3 and use munit_pytorch0.3.

BTW, I am still confirming if the performance is the same for pytorch 0.3 and 0.4.

from munit.

qilimk avatar qilimk commented on May 10, 2024

@mingyuliutw Thanks! I will try munit_pytorch0.3 and hope it could speed the training up. Also, expect the code supports the multi-GPUs in the future.

from munit.

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.