Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update of Cifar10 example which leads to a FID of 3.5 #65

Merged
merged 18 commits into from
Nov 1, 2023

Conversation

kilianFatras
Copy link
Collaborator

We have improved our training of Flow Matching methods and now we get FID around 3.5. The trick was to use a constant learning rate with exponential moving average and gradient clipping. This has led us to use a smaller network than before (num_channels 128), a smaller batch size than before (128) and a smaller number of iterations (400k). All other findings and details will be found in the update arXiv paper.

Fixes #63

Before submitting

  • Did you make sure title is self-explanatory and the description concisely explains the PR?
  • Did you make sure your PR does only one thing, instead of bundling different changes together?
  • Did you list all the breaking changes introduced by this pull request?
  • Did you test your PR locally with pytest command?
  • Did you run pre-commit hooks with pre-commit run -a command?

Did you have fun?

Make sure you had fun coding 🙃

@kilianFatras kilianFatras requested a review from atong01 October 27, 2023 20:40
@codecov-commenter
Copy link

codecov-commenter commented Oct 28, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (1c44a6a) 34.23% compared to head (fbc49b6) 34.23%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #65   +/-   ##
=======================================
  Coverage   34.23%   34.23%           
=======================================
  Files          55       55           
  Lines        6268     6268           
=======================================
  Hits         2146     2146           
  Misses       4122     4122           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kilianFatras kilianFatras merged commit 7b0b2bc into main Nov 1, 2023
14 checks passed
@kilianFatras kilianFatras deleted the cifar_10_FID_5 branch November 2, 2023 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FID Results on CIFAR10 are worse.
3 participants