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

Classify function did not run properly #16

Open
Monica972 opened this issue Oct 15, 2020 · 0 comments
Open

Classify function did not run properly #16

Monica972 opened this issue Oct 15, 2020 · 0 comments

Comments

@Monica972
Copy link

Monica972 commented Oct 15, 2020

Hi there, I am having trouble running the classify function. I have gotten MLWIC to run, however MLWIC2 is not working. I am getting an error that the classify function did not run properly, however it doesn't give any indication as to why.

Here is my code:

install.packages('devtools')
devtools::install_github("mikeyEcology/MLWIC2")

library(MLWIC2)

setup(python_loc = "C:/Users/monic/AppData/Local/Continuum/anaconda3/")

classify(path_prefix = "C:/Users/monic/OneDrive/Documents/CameraTrapEx/images",
data_info = "C:/Users/monic/OneDrive/Documents/CameraTrapEx/MLWIC2_helper_files/data_info.csv",
model_dir = "C:/Users/monic/OneDrive/Documents/CameraTrapEx/MLWIC2_helper_files",
log_dir = "C:/Users/monic/OneDrive/Documents/CameraTrapEx/MLWIC2_helper_files/empty_animal",
python_loc = "C:/Users/monic/anaconda3N/bin/",
save_predictions = "model_predictions.txt",
make_output = TRUE,
output_name = "MLWIC2_output.csv",
num_cores = parallel::detectCores()-1,
os = "Windows"
)

This provides the output:

Your data_info file exists: C:/Users/monic/OneDrive/Documents/CameraTrapEx/MLWIC2_helper_files/data_info.csv.
Your `path_prefix exists: C:/Users/monic/OneDrive/Documents/CameraTrapEx/images.
You are running on a Windows computer.
The classify function did not run properly.

Do you have any idea why this is not running? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant