Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Add augly transformation support #442

Closed
wants to merge 1 commit into from

Conversation

iseessel
Copy link
Contributor

@iseessel iseessel commented Oct 7, 2021

Differential Revision: D31462923

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D31462923

iseessel added a commit to iseessel/vissl that referenced this pull request Oct 7, 2021
Summary:
Pull Request resolved: facebookresearch#442

Add support for augly transformations.

Similar to apex, I made augly install optional for users and didn't add it to requirements.txt -- let me know what you think about this.

Differential Revision: D31462923

fbshipit-source-id: f21f3399461af1a8e1d48bf360477bf83f81b428
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D31462923

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 7, 2021
iseessel added a commit to iseessel/vissl that referenced this pull request Oct 7, 2021
Summary:
Pull Request resolved: facebookresearch#442

Add support for augly transformations.

Similar to apex, I made augly install optional for users and didn't add it to requirements.txt -- let me know what you think about this.

Differential Revision: D31462923

fbshipit-source-id: 65bc0cf9c2bbdfe27a51ceb31412a7e35fb22c03
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D31462923

iseessel added a commit to iseessel/vissl that referenced this pull request Oct 7, 2021
Summary:
Pull Request resolved: facebookresearch#442

Add support for augly transformations.

Similar to apex, I made augly install optional for users and didn't add it to requirements.txt -- let me know what you think about this.

Reviewed By: QuentinDuval

Differential Revision: D31462923

fbshipit-source-id: c5c0adac5b3b1ed30c34b6e9416fc08ea0443686
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D31462923

iseessel added a commit to iseessel/vissl that referenced this pull request Oct 7, 2021
Summary:
Pull Request resolved: facebookresearch#442

Add support for augly transformations.

Similar to apex, I made augly install optional for users and didn't add it to requirements.txt -- let me know what you think about this.

Reviewed By: QuentinDuval

Differential Revision: D31462923

fbshipit-source-id: 5e4a45a2f2b4711681923c20712694dd676f4eed
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D31462923

iseessel added a commit to iseessel/vissl that referenced this pull request Oct 7, 2021
Summary:
Pull Request resolved: facebookresearch#442

Add support for augly transformations.

Similar to apex, I made augly install optional for users and didn't add it to requirements.txt -- let me know what you think about this.

Reviewed By: QuentinDuval

Differential Revision: D31462923

fbshipit-source-id: 6c4c998384fbad888d2149adf6b13a0651ebf9b6
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D31462923

iseessel added a commit to iseessel/vissl that referenced this pull request Oct 7, 2021
Summary:
Pull Request resolved: facebookresearch#442

Add support for augly transformations.

Similar to apex, I made augly install optional for users and didn't add it to requirements.txt -- let me know what you think about this.

Reviewed By: QuentinDuval

Differential Revision: D31462923

fbshipit-source-id: c57f5e75cb8a50e16a718cd8e4bc94f125b23ad1
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D31462923

iseessel added a commit to iseessel/vissl that referenced this pull request Oct 7, 2021
Summary:
Pull Request resolved: facebookresearch#442

Add support for augly transformations.

Similar to apex, I made augly install optional for users and didn't add it to requirements.txt -- let me know what you think about this.

Reviewed By: prigoyal, QuentinDuval

Differential Revision: D31462923

fbshipit-source-id: 91405b4ec8194617b5e69346c8939e0adb265c10
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D31462923

iseessel added a commit to iseessel/vissl that referenced this pull request Oct 7, 2021
Summary:
Pull Request resolved: facebookresearch#442

Add support for augly transformations.

Similar to apex, I made augly install optional for users and didn't add it to requirements.txt -- let me know what you think about this.

Reviewed By: prigoyal, QuentinDuval

Differential Revision: D31462923

fbshipit-source-id: 7c4bd6a5051d6b0d9af1f50f2820076ceeb2e18f
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D31462923

iseessel added a commit to iseessel/vissl that referenced this pull request Oct 7, 2021
Summary:
Pull Request resolved: facebookresearch#442

Add support for augly transformations.

Similar to apex, I made augly install optional for users and didn't add it to requirements.txt -- let me know what you think about this.

Reviewed By: prigoyal, QuentinDuval

Differential Revision: D31462923

fbshipit-source-id: 5950a12a563611b7a9ab5e636feea49e3aab3e39
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D31462923

iseessel added a commit to iseessel/vissl that referenced this pull request Oct 7, 2021
Summary:
Pull Request resolved: facebookresearch#442

Add support for augly transformations.

Similar to apex, I made augly install optional for users and didn't add it to requirements.txt -- let me know what you think about this.

Reviewed By: prigoyal, QuentinDuval

Differential Revision: D31462923

fbshipit-source-id: 3e5426a0176ae641387b3c3e06673cc9db883a31
iseessel added a commit to iseessel/vissl that referenced this pull request Oct 7, 2021
Summary:
Pull Request resolved: facebookresearch#442

Add support for augly transformations.

Similar to apex, I made augly install optional for users and didn't add it to requirements.txt -- let me know what you think about this.

Reviewed By: prigoyal, QuentinDuval

Differential Revision: D31462923

fbshipit-source-id: 751d86f17009d60fc50fb644eb6ff29af5aab68a
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D31462923

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D31462923

Copy link
Contributor

@prigoyal prigoyal left a comment

Choose a reason for hiding this comment

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

thank you @iseessel , added some thoughts inline.

@@ -153,17 +165,18 @@ jobs:
# Cache the vissl_venv directory that contains dependencies
- restore_cache:
keys:
- v5-cpu-dependencies-{{ checksum "requirements.txt" }}-{{ checksum "setup.py" }}
- v8-cpu-dependencies-{{ checksum "requirements.txt" }}-{{ checksum "setup.py" }}
Copy link
Contributor

Choose a reason for hiding this comment

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

question: why bumping from v5 to v8 directly? why not v6?

Copy link
Contributor Author

@iseessel iseessel Oct 8, 2021

Choose a reason for hiding this comment

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

This was result of some testing -- I had to experiment with a lot of different things to make this work -- I'll revert back to v6 here.

.circleci/config.yml Show resolved Hide resolved
Comment on lines 86 to 93
def test_augly_transforms(self):
cfg = compose_hydra_configuration(
[
"config=test/cpu_test/test_cpu_resnet_simclr.yaml",
"+config/test/cpu_test/transforms=augly_transforms_example",
],
)
args, config = convert_to_attrdict(cfg)
Copy link
Contributor

Choose a reason for hiding this comment

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

double check: make sure these tests don't request gpus.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm debugging the ci -- this test doesn't need gpus, but test_tasks.py is picking up the transform config/test/cpu_test/transforms=augly_transforms_example, which is requesting gpus. Solution is to move this dir.

vissl/utils/misc.py Show resolved Hide resolved
iseessel added a commit to iseessel/vissl that referenced this pull request Oct 8, 2021
Summary:
Pull Request resolved: facebookresearch#442

Add support for augly transformations.

Similar to apex, I made augly install optional for users and didn't add it to requirements.txt -- let me know what you think about this.

Reviewed By: prigoyal, QuentinDuval

Differential Revision: D31462923

fbshipit-source-id: cae1de39ae456e2441b86a7fab4f644604670e7c
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D31462923

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D31462923

iseessel added a commit to iseessel/vissl that referenced this pull request Oct 8, 2021
Summary:
Pull Request resolved: facebookresearch#442

Add support for augly transformations.

Similar to apex, I made augly install optional for users and didn't add it to requirements.txt -- let me know what you think about this.

Reviewed By: prigoyal, QuentinDuval

Differential Revision: D31462923

fbshipit-source-id: 219944e6b12a34fe4ccf510738fba33a7dc3e1f4
iseessel added a commit to iseessel/vissl that referenced this pull request Oct 8, 2021
Summary:
Pull Request resolved: facebookresearch#442

Add support for augly transformations.

Similar to apex, I made augly install optional for users and didn't add it to requirements.txt -- let me know what you think about this.

Reviewed By: prigoyal, QuentinDuval

Differential Revision: D31462923

fbshipit-source-id: 603d80ec8754957ee7d9eeda890fb637490d8edc
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D31462923

iseessel added a commit to iseessel/vissl that referenced this pull request Oct 8, 2021
Summary:
Pull Request resolved: facebookresearch#442

Add support for augly transformations.

Similar to apex, I made augly install optional for users and didn't add it to requirements.txt -- let me know what you think about this.

Reviewed By: prigoyal, QuentinDuval

Differential Revision: D31462923

fbshipit-source-id: cb5feef0a5021d62ac5e4a123cd9dfeb02efd0ba
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D31462923

iseessel added a commit to iseessel/vissl that referenced this pull request Oct 8, 2021
Summary:
Pull Request resolved: facebookresearch#442

Add support for augly transformations.

Similar to apex, I made augly install optional for users and didn't add it to requirements.txt -- let me know what you think about this.

Reviewed By: prigoyal, QuentinDuval

Differential Revision: D31462923

fbshipit-source-id: a922ae94cc15fa586818d754db31ca2976205b1c
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D31462923

iseessel added a commit to iseessel/vissl that referenced this pull request Oct 8, 2021
Summary:
Pull Request resolved: facebookresearch#442

Add support for augly transformations.

Similar to apex, I made augly install optional for users and didn't add it to requirements.txt -- let me know what you think about this.

Reviewed By: prigoyal, QuentinDuval

Differential Revision: D31462923

fbshipit-source-id: a07f2c7f462028a652a2bdaebcfba077f3bf7b91
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D31462923

Summary:
Pull Request resolved: facebookresearch#442

Add support for augly transformations.

Similar to apex, I made augly install optional for users and didn't add it to requirements.txt -- let me know what you think about this.

Reviewed By: prigoyal, QuentinDuval

Differential Revision: D31462923

fbshipit-source-id: 258c56bf6c73ff8fa1505dbc6f42188f41d8026b
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D31462923

facebook-github-bot pushed a commit that referenced this pull request Oct 8, 2021
Summary:
Pull Request resolved: #442

Add support for augly transformations.

Similar to apex, I made augly install optional for users and didn't add it to requirements.txt -- let me know what you think about this.

Reviewed By: prigoyal, QuentinDuval

Differential Revision: D31462923

fbshipit-source-id: ce793f1adc432b3f1ea08acf4b3f66daa88215a8
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants