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

refactor codebase for new euclid workflow usage with tests #54

Merged
merged 3 commits into from
Nov 11, 2024

Conversation

Tooyosi
Copy link
Contributor

@Tooyosi Tooyosi commented Oct 29, 2024

Codebase changes for new euclid workflow

Copy link
Contributor

@yuenmichelle1 yuenmichelle1 left a comment

Choose a reason for hiding this comment

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

Hey Toyosi,

Gonna preface I dont know bajor that well so this might not be my best PR review. Knowing that the goal of this PR is to get zoobot training/predictions job to work for more than 1 project (i.e. 2 projects), I think we can do more abstraction if needed later once we know more use cases.

I had a couple questions that either you, @lcjohnso or Mike might be able to answer.

@@ -38,6 +39,15 @@
parser.add_argument('--debug', dest='debug', default=False, action='store_true')
args = parser.parse_args()

schema_dict = {
'cosmic_dawn': cosmic_dawn_ortho_schema,
'euclid': {
Copy link
Contributor

Choose a reason for hiding this comment

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

Just wondering.

is there a reason we can't use zoobot.shared.schemas' euclid_schemas? https://github.com/mwalmsley/zoobot/blob/main/zoobot/shared/schemas.py#L304

Copy link
Contributor

Choose a reason for hiding this comment

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

do we have a schema for decals as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We agreed to have hard-coded for test now as we aren't on the latest zoobot version - We plan to upgrade but this just for test purposes. This would be removed immediately after

Copy link
Member

Choose a reason for hiding this comment

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

Can you add an issue so we don't forget to do this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, added that here: #55

azure/batch/scripts/train_model_finetune_on_catalog.py Outdated Show resolved Hide resolved
@lcjohnso lcjohnso removed the request for review from zwolf November 8, 2024 16:23
@Tooyosi Tooyosi merged commit 0ef709d into main Nov 11, 2024
1 check passed
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.

3 participants