-
Notifications
You must be signed in to change notification settings - Fork 323
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
Apply yapf
to pl_bolts
1/2
#510
Apply yapf
to pl_bolts
1/2
#510
Conversation
Codecov Report
@@ Coverage Diff @@
## master #510 +/- ##
==========================================
- Coverage 79.07% 79.04% -0.04%
==========================================
Files 102 102
Lines 5921 5912 -9
==========================================
- Hits 4682 4673 -9
Misses 1239 1239
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
yapf
to pl_bolts
1/2yapf
to pl_bolts
1/2 [wip]
It looks |
yapf
to pl_bolts
1/2 [wip]yapf
to pl_bolts
1/2
this may resolve the case |
You're right, but it can lower readability a lot in other places: --- a/pl_bolts/models/self_supervised/amdim/amdim_module.py
+++ b/pl_bolts/models/self_supervised/amdim/amdim_module.py
@@ -239,13 +239,20 @@ class AMDIM(pl.LightningModule):
# CIFAR 10
cf_root_lr = 2e-4
cifar_10 = {
- 'dataset': 'cifar10',
- 'ndf': 320,
- 'n_rkhs': 1280,
- 'depth': 10,
- 'image_height': 32,
- 'batch_size': 200,
- 'nb_classes': 10,
+ 'dataset':
+ 'cifar10',
+ 'ndf':
+ 320,
+ 'n_rkhs':
+ 1280,
+ 'depth':
+ 10,
+ 'image_height':
+ 32,
+ 'batch_size':
+ 200,
+ 'nb_classes':
+ 10, so, shall we go with |
c1ab50a
to
4a994be
Compare
ok, so just keep it as it is now :] |
What does this PR do?
Follow-up PR of #509 and part of #482.
Before submitting
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃