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

Releasing 4.1 #81

Merged
merged 6 commits into from
Mar 5, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Bumped clams-python to version 1.1.3 and removed labelset from app me…
…tadata
marcverhagen committed Mar 5, 2024
commit bf41416a71d4ef0290c8758175da7411405fb604
5 changes: 2 additions & 3 deletions metadata.py
Original file line number Diff line number Diff line change
@@ -32,10 +32,9 @@ def appmetadata() -> AppMetadata:
url="https://github.com/clamsproject/app-swt-detection"
)

labels = ['bars', 'slate', 'chyron', 'credits', 'NEG']
metadata.add_input(DocumentTypes.VideoDocument, required=True)
metadata.add_output(AnnotationTypes.TimeFrame, timeUnit='milliseconds', labelset=labels)
metadata.add_output(AnnotationTypes.TimePoint, timeUnit='milliseconds', labelset=labels)
metadata.add_output(AnnotationTypes.TimeFrame, timeUnit='milliseconds')
metadata.add_output(AnnotationTypes.TimePoint, timeUnit='milliseconds')

# TODO: defaults are the same as in modeling/config/classifier.yml, which is possibly
# not a great idea, should perhaps read defaults from the configuration file. There is
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
clams-python==1.1.2
clams-python==1.1.3
torch==2.*
torchvision
torchmetrics