khorrams / IGOS_pp

https://igos.eecs.oregonstate.edu/
GNU General Public License v3.0
24 stars 4 forks source link

No hard-coded model names #4

Closed Lawrence444 closed 1 year ago

Lawrence444 commented 1 year ago

https://github.com/khorrams/IGOS_pp/blob/e4a743d9c01d918df55631d7b0c8f81467a5e11d/detectors/f_rcnn.py#L87

@mingqiJ Please refactor the code so that the model file is passed in as an argument rather than hard-coded in the code.

Lawrence444 commented 1 year ago

This is also a problem in main.py

Lawrence444 commented 1 year ago

you can make users to specify the model filename as an argument with some default values set to what you had.