Closed mayaliliya closed 3 years ago
Overall, I don't love the direction we're heading with respect to our scripts. As we add more and more models, it's becoming a bit difficult to keep track of the right tensor names, command line arguments, etc.
Ideally what we would have is a common library of all our shared code, and then a set of scripts/modules for each type of model we have. I don't think that kind of change is in the scope of this PR, but it's something to keep in mind so we don't end up with code that is cluttered and difficult to read/understand.
Overall, I don't love the direction we're heading with respect to our scripts. As we add more and more models, it's becoming a bit difficult to keep track of the right tensor names, command line arguments, etc.
Ideally what we would have is a common library of all our shared code, and then a set of scripts/modules for each type of model we have. I don't think that kind of change is in the scope of this PR, but it's something to keep in mind so we don't end up with code that is cluttered and difficult to read/understand.
I fully agree, it is becoming difficult to add new models while attempting to make minimal changes to the pre-existing scripts. This is something we can bring up in the following meetings so we can plan a smooth refactoring process
Pull Request Template
Description
Added COVIDNet CXR-3 model with MEDUSA architecture including evaluation and inference scripts.
Type of change
Please mark any boxes that apply.
How Has This Been Tested?
Model weights were loaded from the Google Drive and then tested against the scripts. eval.py tested with:
inference.py tested with:
Checklist:
Please mark any boxes that have been completed.