MrNothing / AI-Blocks

A powerful and intuitive WYSIWYG interface that allows anyone to create Machine Learning models!
https://mrnothing.github.io/AI-Blocks/index.html
Other
1.87k stars 224 forks source link

Error on running any examples #22

Open brandonssmith opened 4 years ago

brandonssmith commented 4 years ago

I suspect this may have to do with newer versions of tensorflow and python but not really sure. When I click run on an example I get the following errors:

I assume that this one is due to not having the gpu version of tensorflow installed. This doesn't seem to be a show stopper though. But I am currently attempting to fix this through

pip install tensorflow-gpu

2020-06-10 20:32:32.912840: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found 2020-06-10 20:32:32.913156: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.

This is the error that I believe keeps the examples from running. Is this because MNIST was deprecated or is it just a bad call somewhere:

Traceback (most recent call last): File "C:\Users\bbbb\AppData\Local\Temp/main.py", line 5, in from tensorflow.examples.tutorials.mnist import input_data as minst_input_data ModuleNotFoundError: No module named 'tensorflow.examples.tutorials'

MrNothing commented 4 years ago

Hi! Sorry for the delayed answer. For the first error, you need the right version of cuda installed on your machine and the proper dlls referenced in your system PATH. (this can be a headache to setup). I will test the project this weekend with the latest version of tensorflow, they change code very often, it might be deprecated.