-
Notifications
You must be signed in to change notification settings - Fork 1
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
Conversation
There was a problem hiding this 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': { |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
Codebase changes for new euclid workflow