spsaswat / plantdis

A Plant Disease Detector App based on Nested Transfer Learning
GNU General Public License v3.0
4 stars 1 forks source link

Fix load file location #2

Closed gjwgit closed 2 years ago

gjwgit commented 2 years ago

When mlhub runs a script it runs the script in ~/.mlhub/plantdis and so if a filename is supplied it is generally not going to be found in there. The mlhub package provides get_cmd_cwd() to handle this.