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

[WIP] Method refactor #8

Open
wants to merge 70 commits into
base: v2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
2a58506
Method Refactoring Sketch
PatrickFeeney Nov 15, 2024
6c201d1
Update training script with TensorBoard logging and early stopping, a…
Lakshita110 Nov 22, 2024
66e4832
Refactor training function to include class weights and improve early…
Lakshita110 Nov 22, 2024
edbc4b1
Preliminary work on refactoring
nikkifalicov Nov 22, 2024
46ceac4
MethodWrapper Class
PatrickFeeney Nov 22, 2024
b6f5ba9
Refactor main
Nov 25, 2024
bfb85d0
Remove unwanted file
Nov 25, 2024
ab6bab5
Formatting
Lakshita110 Nov 25, 2024
89a4a13
Refactor hyper_search and utils
Lakshita110 Dec 1, 2024
2518a4b
Implement SupervisedMethod class and refactor training loop
Lakshita110 Dec 1, 2024
a8da6d3
Working on integrating CheXpert
nikkifalicov Dec 2, 2024
a135826
Updated config file to include IDRID and CheXpert stats
nikkifalicov Dec 2, 2024
6089cae
Finished and tested get_dataloaders
nikkifalicov Dec 4, 2024
e35d2f5
Add TODO Comments
PatrickFeeney Dec 13, 2024
9ac28fd
Formatting and function contracts
Lakshita110 Jan 19, 2025
8446ced
Refactor hyper_search.py for consistent formatting and indentation
Lakshita110 Jan 19, 2025
30efb7d
Missing imports and code formatting improvements
Lakshita110 Jan 19, 2025
763bc04
Enhance evaluation metrics by adding AUPRC and AUROC calculations;
Lakshita110 Jan 19, 2025
0d61c09
Refactor main function according to ray tune tutorial
Jan 30, 2025
1e6a3eb
Refactor main function according to ray tune tutorial
Jan 30, 2025
0c4cda2
Add Ray to Pipenv
PatrickFeeney Jan 30, 2025
3065b4a
Enable Dataset and Method Configurations
PatrickFeeney Jan 30, 2025
70a56ff
Fixed TODO comments
nikkifalicov Jan 31, 2025
cf330a5
Merge branch 'method_refactor_dataloaders' of https://github.com/tuft…
nikkifalicov Jan 31, 2025
3f8b989
Applied flake8
nikkifalicov Jan 31, 2025
6cd67a7
Applied flake8 formatting
nikkifalicov Jan 31, 2025
1c861eb
Fix Unlabeled and Remove Duped Code
PatrickFeeney Jan 31, 2025
38b4c0e
Remove Duplicated Function Definitions from Unlabeled Dataset
PatrickFeeney Jan 31, 2025
3973802
Update CSV dataloader naming
nikkifalicov Jan 31, 2025
5914f11
Updated dataloader calling in hyper_search.py
nikkifalicov Jan 31, 2025
5daadd4
Merge pull request #7 from tufts-ml/method_refactor_dataloaders
nikkifalicov Jan 31, 2025
25fb32a
Merge branch 'method_refactor' into method_refactor_train
Lakshita110 Feb 2, 2025
d7ad5c8
Merge pull request #5 from tufts-ml/method_refactor_train
Lakshita110 Feb 3, 2025
66a1278
Cleaned up src and added archive folder
Lakshita110 Feb 3, 2025
50dced5
Refactor argument parsing into a separate module and clean up hyper_s…
Lakshita110 Feb 3, 2025
1d25329
Implement LabelOnlyBaseline method and refactor model loading in hype…
Lakshita110 Feb 3, 2025
5ad6851
Fix LabelOnlyBaseline file structure
Lakshita110 Feb 4, 2025
2d9babe
Add __init__.py files to utils directories in LabelOnlyBaseline and M…
Lakshita110 Feb 4, 2025
c706942
Add MixUp utility functions
Lakshita110 Feb 4, 2025
e7c24a0
Add __init__.py files to MixUp and libml directories
Lakshita110 Feb 4, 2025
8570b43
Merge branch 'method_refactor' into method_refactor_main
abarancikova Feb 5, 2025
eba9b22
Merge pull request #6 from tufts-ml/method_refactor_main
abarancikova Feb 5, 2025
a6f08d5
Fix training code in hyper_search
Lakshita110 Feb 6, 2025
0d79abc
Refactor training and optimization logic in hyper_search.py
Lakshita110 Feb 6, 2025
c7b74ec
Adjust import paths, and refine argument parsing in training utilities
Lakshita110 Feb 6, 2025
78354e6
Refactor import paths and enhance logging in hyper_search
Lakshita110 Feb 6, 2025
280fd80
Merge pull request #9 from tufts-ml/method_refactor_integrate
Lakshita110 Feb 6, 2025
444fa7e
Refactor import paths, update training code, and enhance experiment s…
Lakshita110 Feb 9, 2025
2450b07
dataset_config -> dataset_configs
PatrickFeeney Feb 11, 2025
b83a4b5
Replacement for Ray Hyperparameter Sampling
PatrickFeeney Feb 11, 2025
567a8e1
Add torch-tb-profiler to development dependencies
Lakshita110 Feb 11, 2025
d8d67a3
Adjust experiment resource allocation and update environment variables
Lakshita110 Feb 11, 2025
acb8f47
Remove debug print statements and improve evaluation function documen…
Lakshita110 Feb 11, 2025
d7799c1
Add method to generate directory name from hyperparameters and improv…
Lakshita110 Feb 11, 2025
2307f7f
Change SLURM partition from compute to preempt for resource optimization
Lakshita110 Feb 11, 2025
3d20704
Fixed a naming issue
nikkifalicov Feb 11, 2025
7b70cba
Fixed folder naming issue
nikkifalicov Feb 11, 2025
bece16a
Refactor training setup and evaluation functions for clarity and effi…
Lakshita110 Feb 12, 2025
d80c8e9
Refactor evaluation metrics handling and streamline eval_model function
Lakshita110 Feb 12, 2025
f45cfee
Fix --use_pretrained
Lakshita110 Feb 12, 2025
ba3f3f7
Update experiment configuration and refactor argument handling for cl…
Lakshita110 Feb 16, 2025
c29c35c
Enhance model initialization by freezing layers for pretrained models…
Lakshita110 Feb 16, 2025
408aa99
Update SLURM configuration and optimize evaluation model function for…
Lakshita110 Feb 16, 2025
bb8af5b
Refactor model import bug
Lakshita110 Feb 16, 2025
52aae38
Update experiment configuration
Lakshita110 Feb 16, 2025
4cd27e5
Refactor optimizer settings to use dynamic learning rate and weight d…
Lakshita110 Feb 17, 2025
332daa1
Add freeze_backbone argument and update data transformations for pret…
Lakshita110 Feb 18, 2025
6f59d88
Argparse strs to bools
PatrickFeeney Feb 18, 2025
d86e707
Add help descriptions for pretrained weights and freeze backbone options
Lakshita110 Feb 19, 2025
c5bc0ee
Add SLURM scripts for hyperparameter search and experiment launching
Lakshita110 Feb 19, 2025
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
Next Next commit
Add torch-tb-profiler to development dependencies
  • Loading branch information
Lakshita110 committed Feb 11, 2025
commit 567a8e15825c72794bddabb6df5decd790d72366
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ torchvision = {index="pytorch_cu121"}
python_version = "3.10"

[dev-packages]
torch-tb-profiler = "*"
Loading