-
Notifications
You must be signed in to change notification settings - Fork 1
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
Problem with example data #1
Comments
Are you able to run any of the ANTsRNet functions? e.g., |
It seems that there are problems with some libraries libcusolver.so.10. Despite this, BrainExtraction seems to worked fine, I used this command: Rscript Scripts/doBrainExtraction.R Data/Example/1097782_defaced_MPRAGE.nii.gz outputProbabilityMask.nii.gz Data/Template/S_template3_resampled.nii.gz Loading required package: ANTsRCore Attaching package: ‘ANTsRCore’ The following objects are masked from ‘package:stats’:
The following objects are masked from ‘package:base’:
Reading reorientation template Data/Template/S_template3_resampled.nii.gz (elapsed time: 0.1615124 seconds) Total elapsed time: 6.33902 seconds (base) miguel@miguel-GP62-6QF:~/Desktop/BrainExtraction$ Rscript Scripts/doBrainExtraction.R Data/Example/1097782_defaced_MPRAGE.nii.gz outputProbabilityMask.nii.gz Data/Template/S_template3_resampled.nii.gz Attaching package: ‘ANTsRCore’ The following objects are masked from ‘package:stats’:
The following objects are masked from ‘package:base’:
Reading reorientation template Data/Template/S_template3_resampled.nii.gz (elapsed time: 0.1565659 seconds) Total elapsed time: 6.145734 seconds BRAINAGE R EXAMPLEIn the case of brainAgeR, this is the output library( ANTsR )
2021-03-30 19:42:43.376899: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
Thanks. |
@stnava --- It looks like the problem is here but I don't see a quick fix. |
I could not reproduce this error on either OS X or Linux - @ntustison - could you? |
anyway, I would guess that R 3.x is the issue. |
although I can't reproduce the issue , the question is whether this:
is valid code. it works in every case that I've tried recently. |
Ah, that's the issue. I'm guessing this is a recent change.
|
What keras/tensorflow?
|
[1] keras_2.3.0.0 tensorflow_2.2.0 |
but also R version 4.0.2 (2020-06-22) |
Hmmm, interesting. R version 4.0.3 (2020-10-10) I'll have to see if it runs on my other machine. |
might be more generally consistent with tf |
Hello all, I was potentially running into some similar/connected issues... A follow-up question (to maybe troubleshoot)... what library version (of keras and tensorflow) is this code predicated on? Has anyone just tried to install older versions of those packages to see if this cured the issue? (As I'm presuming that the whole brainAgeR function isn't going to be recoded, etc.). If someone pings me with this info, I can try to see if rolling back/installing older library versions fixes things... |
Dear devs,
Before install all required R libraries on my Ubuntu computer I tried to run the minimal example included in this web but I got an error that I don't know what it could be related to, please, could you give me some idea?. This is my complete output.
R version 3.6.2 (2019-12-12) -- "Dark and Stormy Night"
Copyright (C) 2019 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
Attaching package: ‘ANTsRCore’
The following objects are masked from ‘package:stats’:
The following objects are masked from ‘package:base’:
Loading required package: ANTsR
Loading required package: ANTsRNet
Loading required package: keras
Loading required package: tensorflow
Loading required package: zip
Attaching package: ‘zip’
The following objects are masked from ‘package:utils’:
Attaching package: ‘brainAgeR’
The following objects are masked from ‘package:ANTsRNet’:
2021-03-30 14:17:23.137571: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /home/miguel/.local/share/r-miniconda/envs/r-reticulate/lib:/usr/lib/R/lib:/usr/lib/x86_64-linux-gnu:/usr/lib/jvm/default-java/lib/server:/usr/lib/fsl/5.0
2021-03-30 14:17:23.137600: 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.
2021-03-30 14:17:24.651865: I tensorflow/compiler/jit/xla_cpu_device.cc:41] Not creating XLA devices, tf_xla_enable_xla_devices not set
2021-03-30 14:17:24.652773: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcuda.so.1
2021-03-30 14:17:24.661953: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:941] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-03-30 14:17:24.662250: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1720] Found device 0 with properties:
pciBusID: 0000:01:00.0 name: GeForce GTX 960M computeCapability: 5.0
coreClock: 1.176GHz coreCount: 5 deviceMemorySize: 1.96GiB deviceMemoryBandwidth: 74.65GiB/s
2021-03-30 14:17:24.662347: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /home/miguel/.local/share/r-miniconda/envs/r-reticulate/lib:/usr/lib/R/lib:/usr/lib/x86_64-linux-gnu:/usr/lib/jvm/default-java/lib/server:/usr/lib/fsl/5.0
2021-03-30 14:17:24.662416: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcublas.so.11'; dlerror: libcublas.so.11: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /home/miguel/.local/share/r-miniconda/envs/r-reticulate/lib:/usr/lib/R/lib:/usr/lib/x86_64-linux-gnu:/usr/lib/jvm/default-java/lib/server:/usr/lib/fsl/5.0
2021-03-30 14:17:24.662480: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcublasLt.so.11'; dlerror: libcublasLt.so.11: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /home/miguel/.local/share/r-miniconda/envs/r-reticulate/lib:/usr/lib/R/lib:/usr/lib/x86_64-linux-gnu:/usr/lib/jvm/default-java/lib/server:/usr/lib/fsl/5.0
2021-03-30 14:17:24.662551: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcufft.so.10'; dlerror: libcufft.so.10: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /home/miguel/.local/share/r-miniconda/envs/r-reticulate/lib:/usr/lib/R/lib:/usr/lib/x86_64-linux-gnu:/usr/lib/jvm/default-java/lib/server:/usr/lib/fsl/5.0
2021-03-30 14:17:24.662616: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcurand.so.10'; dlerror: libcurand.so.10: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /home/miguel/.local/share/r-miniconda/envs/r-reticulate/lib:/usr/lib/R/lib:/usr/lib/x86_64-linux-gnu:/usr/lib/jvm/default-java/lib/server:/usr/lib/fsl/5.0
2021-03-30 14:17:24.662680: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcusolver.so.10'; dlerror: libcusolver.so.10: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /home/miguel/.local/share/r-miniconda/envs/r-reticulate/lib:/usr/lib/R/lib:/usr/lib/x86_64-linux-gnu:/usr/lib/jvm/default-java/lib/server:/usr/lib/fsl/5.0
2021-03-30 14:17:24.662742: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcusparse.so.11'; dlerror: libcusparse.so.11: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /home/miguel/.local/share/r-miniconda/envs/r-reticulate/lib:/usr/lib/R/lib:/usr/lib/x86_64-linux-gnu:/usr/lib/jvm/default-java/lib/server:/usr/lib/fsl/5.0
2021-03-30 14:17:24.662805: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcudnn.so.8'; dlerror: libcudnn.so.8: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /home/miguel/.local/share/r-miniconda/envs/r-reticulate/lib:/usr/lib/R/lib:/usr/lib/x86_64-linux-gnu:/usr/lib/jvm/default-java/lib/server:/usr/lib/fsl/5.0
2021-03-30 14:17:24.662817: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1757] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...
2021-03-30 14:17:24.663087: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2021-03-30 14:17:24.663644: I tensorflow/compiler/jit/xla_gpu_device.cc:99] Not creating XLA devices, tf_xla_enable_xla_devices not set
2021-03-30 14:17:24.663673: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1261] Device interconnect StreamExecutor with strength 1 edge matrix:
2021-03-30 14:17:24.663688: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1267]
Error in inputX * (wt) : non-numeric argument to binary operator
Thank you very much in advance.
Best wishes,
Steve
The text was updated successfully, but these errors were encountered: