Skip to content

Fix classification transformer runtime compatibility issues#201

Open
DhruvrajSinhZala24 wants to merge 1 commit intoML4SCI:mainfrom
DhruvrajSinhZala24:fix-classification-transformers-runtime-bugs
Open

Fix classification transformer runtime compatibility issues#201
DhruvrajSinhZala24 wants to merge 1 commit intoML4SCI:mainfrom
DhruvrajSinhZala24:fix-classification-transformers-runtime-bugs

Conversation

@DhruvrajSinhZala24
Copy link

Fixes #191

Summary

  • update torchmetrics functional calls to use task="multiclass" for current versions
  • replace the deprecated MPS availability check in utils.py
  • remove the unsupported verbose=True argument from CosineAnnealingWarmRestarts
  • add a project-level requirements.txt for the missing runtime dependencies
  • document dependency installation in the project README

Validation

  • ran python3 -m py_compile DeepLense_Classification_Transformers_Archil_Srivastava/eval.py DeepLense_Classification_Transformers_Archil_Srivastava/train.py DeepLense_Classification_Transformers_Archil_Srivastava/utils.py

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.

[Bug] DeepLense_Classification_Transformers: Missing dependencies, broken APIs, and deprecated calls prevent running

1 participant