feat: integrate age classification project using torch, numpy, pandas…#31
Closed
jbardowski wants to merge 13 commits intoUMass-Rescue:mainfrom
Closed
feat: integrate age classification project using torch, numpy, pandas…#31jbardowski wants to merge 13 commits intoUMass-Rescue:mainfrom
jbardowski wants to merge 13 commits intoUMass-Rescue:mainfrom
Conversation
…, requests, opencv-python, sqlalchemy, seaborn, and onnxruntime, with models: cledoux42/Age_Classify_v001 and dima806/fairface_age_image_detection models
Collaborator
|
Thanks for the PR. Can you please let me know the license for the cledoux42/Age_Classify_v001 and dima806/fairface_age_image_detection models? |
nb950
reviewed
Apr 30, 2025
|
|
||
| class Inputs(TypedDict): | ||
| """Specify the input and output types for the task""" | ||
| input_dataset: DirectoryInput |
Collaborator
There was a problem hiding this comment.
refer https://github.com/UMass-Rescue/RescueBox/pull/28/files,
by overriding the Input types , validation can be added to get a better user experience
comments ?
Collaborator
There was a problem hiding this comment.
I recommend this too. Just fixing the link to !28. #28
PR 28 is now merged and the code example can be found at src/audio-transcription/audio_transcription/main.py
Basically, you'd have to do something like
IMAGE_EXTENSIONS = {".png", ".jpg", ".jpeg", ...} # mention all allowed extensions here
class ImageDirectory(FileFilterDirectory):
path: DirectoryPath
file_extensions: List[str] = IMAGE_EXTENSIONS
class Inputs(TypedDict):
"""Specify the input and output types for the task"""
input_dataset: ImageDirectory # using ImageDirectory instead of DirectoryInput. This ensures that the directory contains at least one file with at least one of the above listed extensions
nb950
reviewed
May 5, 2025
Ensemble model integration
Collaborator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…, requests, opencv-python, sqlalchemy, seaborn, and onnxruntime, with models: cledoux42/Age_Classify_v001 and dima806/fairface_age_image_detection models