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

Add hooks building to classification task (#62) #402

Closed
wants to merge 1 commit into from

Conversation

aadcock
Copy link

@aadcock aadcock commented Feb 21, 2020

Summary:
Pull Request resolved: https://github.com/fairinternal/ClassyVision/pull/62

Add configurable hooks to classification task, note this is not yet fully hooked up since code here: https://fburl.com/diffusion/ou4nszl2 sets the hooks (will fix this once I get feedback on the approach).

Differential Revision: D19770583

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported labels Feb 21, 2020
@facebook-github-bot
Copy link
Contributor

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

aadcock pushed a commit to aadcock/ClassyVision-2 that referenced this pull request Apr 1, 2020
Summary:
Pull Request resolved: facebookresearch#402

Pull Request resolved: fairinternal/ClassyVision#62

Add configurable hooks to classification task, had to remove the typehints from ClassyHook to avoid a circular dependency.

Reviewed By: mannatsingh, vreis

Differential Revision: D19770583

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

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

Summary:
Pull Request resolved: facebookresearch#402

Pull Request resolved: fairinternal/ClassyVision#62

Add configurable hooks to classification task, had to remove the typehints from ClassyHook to avoid a circular dependency. As discussed, there are other options (for example importing in from_config), but since we keep running into this issue we are going to remove them to try and improve dev velocity.

One more note, as requested I made the checkpoint hook a default option, but this led to some additional changes (need to allow input_args in checkpoint hook to be None as well as empty dict and had to add a make dir call in the task build).

Differential Revision: D19770583

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 3d1d277.

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 Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants