You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to use the model with my own set of images but every time I call the code from an external location, it tries to recompile itself and fails. I can only get it to work from within the directory.
I also tried creating my own StructuredForest from the base class but that also hasn't worked so far for the same reason.
any ideas?
The text was updated successfully, but these errors were encountered:
After running the code at least once from within the directory, you can replace the build_dir=".pyxbld" with build_dir=os.path.join(os.path.dirname(__file__), ".pyxbld") (in 3 different files) and the default model_dir in class StructuredForests to be os.path.join(os.path.dirname(file), "model").
Now StructuredForests can be imported from external locations and used without re-compilation.
I've been trying to use the model with my own set of images but every time I call the code from an external location, it tries to recompile itself and fails. I can only get it to work from within the directory.
I also tried creating my own StructuredForest from the base class but that also hasn't worked so far for the same reason.
any ideas?
The text was updated successfully, but these errors were encountered: