-
Notifications
You must be signed in to change notification settings - Fork 0
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
GeoAI_2021_unit_04_EX_Prepare_your_data #11
Comments
Applying the function 2021-12-08 15:10:34.928189: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'nvcuda.dll'; dlerror: nvcuda.dll not found I think there is a problem with |
@FloFranz As far as I know this message occurs when you have installed tensorflow on a CPU (as described in unit 1) and not a GPU. This message should not be a problem for further proceeding. Could you reshape your tensorflow dataset to an image? |
@jp-hecht I can take a subset of the created array but the
|
@FloFranz I think you have the desired output. The |
When I try to install tensorflow it doesn't work, I get the following Error message: ERROR: Could not find a version that satisfies the requirement tensorflow==2.7.* (from versions: none) Any idea how to solve this? |
@Puliester You may cross check the answer from session 1 #2 (comment) I think your libraries are not up to date, so please check the suggested possible solutions. |
Hello, i get also get Warningmessges, when i apply the prepare_ds function: 2021-12-12 12:49:09.885335: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/lib/R/lib:/lib:/usr/lib/x86_64-linux-gnu:/usr/lib/jvm/default-java/lib/server And it seems that i get the right dataoutput afterwards: <MapDataset shapes: ((None, None, None, None), (None, None, None, None)), types: (tf.float32, tf.float32)> However, if i proceed and try to reshape i get the following error: it <- as_iterator(training_dataset) Error in py_iterate(it, f) : I think this might be due to a wrong tensorflow installation but i dont know how to fix it. |
You could simply check if tensorflow is working appropriate with
Maybe your input file path or the input image itself has the wrong number of channels e.g. you switched the mask with the image or vice versa. Please check this in your code. |
@IvoJJ it seems that your cuda is not available or not in the path. Pls check the following things in the shell:
Depending on your system it should be something like:
If you find it add it to your path
Note cuda 11 is requested. |
@gisma there were no returns when using
@jp-hecht
I dont think i got a switch in my data. I use
in the bui folder are the mask files (only 2 values, or black and white). Then i split:
Afterwards i build training and validation dataset:
Then my output is:
but maybe im not seeing something. Thanks for the help! |
@IvoJJ I am pretty sure that you do NOT have a GPU onboard of your laptop? If so try to reininstall library(keras)
install_keras(method = c("conda"),
conda = "auto", version = "default", tensorflow = "cpu") If not give |
@gisma no i only have onboard graphics, is this a problem? |
@IvoJJ nope no problem but as far as I see it from your error messages is your system looking for a valid cuda library. So please try to re-install it with |
No description provided.
The text was updated successfully, but these errors were encountered: