Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Cluster #36

Merged
merged 20 commits into from
Feb 1, 2021
Merged

Cluster #36

merged 20 commits into from
Feb 1, 2021

Conversation

tchaton
Copy link
Contributor

@tchaton tchaton commented Feb 1, 2021

What does this PR do?

Fixes # (issue)

Before submitting

  • Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure your PR does only one thing, instead of bundling different changes together?
  • Did you make sure to update the documentation with your changes?
  • Did you write any new necessary tests? [not needed for typos/docs]
  • Did you verify new and existing tests pass locally with your changes?
  • If you made a notable change (that affects users), did you update the CHANGELOG?

PR review

  • Is this pull request ready for review? (if not, please submit in draft mode)

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 🙃

@pep8speaks
Copy link

pep8speaks commented Feb 1, 2021

Hello @tchaton! Thanks for updating this PR.

Line 31:1: E731 do not assign a lambda expression, use a def
Line 32:1: E731 do not assign a lambda expression, use a def

Comment last updated at 2021-02-01 19:30:01 UTC

@codecov
Copy link

codecov bot commented Feb 1, 2021

Codecov Report

Merging #36 (c9a2869) into master (48ec088) will decrease coverage by 4.24%.
The diff coverage is 45.45%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #36      +/-   ##
==========================================
- Coverage   85.43%   81.19%   -4.25%     
==========================================
  Files          29       32       +3     
  Lines         927     1037     +110     
==========================================
+ Hits          792      842      +50     
- Misses        135      195      +60     
Flag Coverage Δ
unittests 81.19% <45.45%> (-4.25%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
flash/vision/embedding/image_embedder_model.py 35.61% <35.61%> (ø)
flash/vision/embedding/model_map.py 43.47% <43.47%> (ø)
flash/core/model.py 95.40% <100.00%> (+0.73%) ⬆️
flash/vision/__init__.py 100.00% <100.00%> (ø)
flash/vision/embedding/__init__.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 48ec088...356d02d. Read the comment docs.

docs/source/reference/image_embedder.rst Outdated Show resolved Hide resolved
docs/source/reference/image_embedder.rst Outdated Show resolved Hide resolved
docs/source/reference/image_embedder.rst Show resolved Hide resolved
docs/source/reference/image_embedder.rst Outdated Show resolved Hide resolved
docs/source/reference/image_embedder.rst Outdated Show resolved Hide resolved
flash/core/model.py Outdated Show resolved Hide resolved
flash/model_map.py Outdated Show resolved Hide resolved
flash_examples/predict/image_embedder.py Show resolved Hide resolved
flash_examples/predict/image_embedder.py Outdated Show resolved Hide resolved
Copy link
Contributor

@carmocca carmocca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we have some tests? Also add the example to test_examples if it's not too slow

docs/source/reference/image_embedder.rst Outdated Show resolved Hide resolved
docs/source/reference/image_embedder.rst Outdated Show resolved Hide resolved
flash/core/model.py Outdated Show resolved Hide resolved
flash/model_map.py Outdated Show resolved Hide resolved
flash/model_map.py Outdated Show resolved Hide resolved
flash_examples/predict/image_embedder.py Outdated Show resolved Hide resolved
flash/vision/embedding/image_embedder_model.py Outdated Show resolved Hide resolved
flash/model_map.py Outdated Show resolved Hide resolved
@tchaton tchaton marked this pull request as ready for review February 1, 2021 18:07
flash/core/model.py Outdated Show resolved Hide resolved
@@ -36,6 +36,8 @@ Or on a random image tensor

.. testcode:: python

import torch
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix indentation

@tchaton tchaton merged commit 008bc75 into master Feb 1, 2021
@tchaton tchaton deleted the cluster branch February 1, 2021 19:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants