MLWIC2
MLWIC2 copied to clipboard
DLL Load Fail
Hi all,
I'm running this package and learning Anaconda/python for the first time. And am struggling with this error.
classify(path_prefix = "C:/Users/bird_/Desktop/C7_07162019", data_info = "C:/Users/bird_/Desktop/image_labels.csv", model_dir ="C:/Users/bird_/Desktop/MLWIC2_helper_files", python_loc = "C:/Users/bird_/anaconda3/envs/enviro", save_predictions = "model_predictions.txt", architecture = 'resnet', depth = 18, top_n = 5, batch_size = 128, make_output = TRUE, output_name = "MLWIC2_output.csv", num_cores = 16, os="Windows", num_classes=1000 )
Your data_info
file exists: C:/Users/bird_/Desktop/image_labels.csv.
Your `path_prefix exists: C:/Users/bird_/Desktop/C7_07162019.
You are running on a Windows computer.
Traceback (most recent call last):
File "run.py", line 14, in
I'm running it in an Anaconda environment with python 3.7, with numpy 1.16.0 (tried 1.16.4 too), and tensorflow 1.14.0.
I have reinstalled and updated Microsoft Visual C++, I have manually added msvcp71.dll into the system files and into the DLL file under anaconda3. I have tried adding to the PATH ~/Library/bin, I have uninstalled and reinstalled numpy. I am running out of options that already exist on the internet. Can anyone help???
TIA!!
@mikeyEcology
Just got over the same problem. For me, it was that the python.exe in the environment being used by R Studio, and the one being used by the anaconda prompt were different (or something like that anyway).
If you open anaconda prompt, and go to the r-reticulate environment ('activate r-reticulate') and type 'where python' - do you see an entry of python.exe other than the r-reticulate one? I did (in windows apps) which on being deleted fixed the issue after updating numpy again.
Edit: just realized how old this problem was - sorry for zombie posting, only just started trying this library out.