# Unfamiliar with error result from Loading and Testing

**URL:** <https://community.konduit.ai/t/unfamiliar-with-error-result-from-loading-and-testing/1545>\
**Category:** Uncategorized\
**Created:** [August 10, 2021, 10:56am UTC](https://community.konduit.ai/t/unfamiliar-with-error-result-from-loading-and-testing/1545 "2021-08-10T10:56:59Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bruno](https://avatars.discourse-cdn.com/v4/letter/b/c77e96/32.png) [@Bruno](https://community.konduit.ai/u/Bruno)\
**Post date:** [August 10, 2021, 10:56am UTC](https://community.konduit.ai/t/unfamiliar-with-error-result-from-loading-and-testing/1545/1 "2021-08-10T10:56:59Z")

</div>

Hey guys can you please help me resolve these errors l am trying to load and test a model that l trained, using the same code that worked perfectly well previously

* * *

## SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”. SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See [SLF4J Error Codes](http://www.slf4j.org/codes.html#StaticLoggerBinder) for further details. java.lang.UnsatisfiedLinkError: /home/bruno/.javacpp/cache/cuda-11.2-8.1-1.5.5-linux-x86\_64.jar/org/bytedeco/cuda/linux-x86\_64/libjnicudart.so: libcuda.so.1: cannot open shared object file: No such file or directory at java.base/jdk.internal.loader.NativeLibraries.load(Native Method) at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:383) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:227) at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:169)

---

<div class="post-metadata">

**Author:** ![agibsonccc](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/agibsonccc/32/697_2.png) [@agibsonccc](https://community.konduit.ai/u/agibsonccc)\
**Post date:** [August 10, 2021, 11:18am UTC](https://community.konduit.ai/t/unfamiliar-with-error-result-from-loading-and-testing/1545/2 "2021-08-10T11:18:23Z")

</div>

I defer to @saudet here, beyond that I would suggest downgrading the JDK if the modules don’t work out. I think @saudet could give a better answer here though.

---

<div class="post-metadata">

**Author:** ![Bruno](https://avatars.discourse-cdn.com/v4/letter/b/c77e96/32.png) [@Bruno](https://community.konduit.ai/u/Bruno)\
**Post date:** [August 10, 2021, 11:58am UTC](https://community.konduit.ai/t/unfamiliar-with-error-result-from-loading-and-testing/1545/3 "2021-08-10T11:58:39Z")

</div>

Hey @agibsonccc l decided to downgrade the dl4jVersion from “1.0.0-M1.1” to “1.0.0-M1” in the build.sbt file and the code compiles and runs, however l am open to other suggestions

---

<div class="post-metadata">

**Author:** ![agibsonccc](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/agibsonccc/32/697_2.png) [@agibsonccc](https://community.konduit.ai/u/agibsonccc)\
**Post date:** [August 10, 2021, 12:34pm UTC](https://community.konduit.ai/t/unfamiliar-with-error-result-from-loading-and-testing/1545/4 "2021-08-10T12:34:14Z")

</div>

@Bruno M1 had a ton of problems with loading cudnn. When I said “downgrade” I meant downgrading from java 9 + to 8. That should fix it for the short term.

I don’t quite know what would have changed in M1.1 to M1 (all we did was changed a few classes…) - could you post your complete sbt file?

---

<div class="post-metadata">

**Author:** ![saudet](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/saudet/32/69_2.png) [@saudet](https://community.konduit.ai/u/saudet)\
**Post date:** [August 10, 2021, 12:36pm UTC](https://community.konduit.ai/t/unfamiliar-with-error-result-from-loading-and-testing/1545/5 "2021-08-10T12:36:13Z")

</div>

That means what it says: libcuda.so.1 is missing. You’ll need that file. I don’t know what else you want me to say!

---

<div class="post-metadata">

**Author:** ![Bruno](https://avatars.discourse-cdn.com/v4/letter/b/c77e96/32.png) [@Bruno](https://community.konduit.ai/u/Bruno)\
**Post date:** [August 10, 2021, 12:41pm UTC](https://community.konduit.ai/t/unfamiliar-with-error-result-from-loading-and-testing/1545/6 "2021-08-10T12:41:19Z")

</div>

This is my complete sbt file

val Scala2 = “2.13.6”  
val dl4jVersion = “1.0.0-M1”

lazy val root = (project in file(“.”))  
.settings(  
inThisBuild(  
List(  
name := “dl4j-playground”,  
organization := “ee.mn8”,  
scalaVersion := Scala2,  
version := “0.1”  
)  
),  
libraryDependencies ++= Seq(  
“org.slf4j” % “slf4j-api” % “1.7.31”,  
“org.deeplearning4j” % “deeplearning4j-core” % dl4jVersion,  
“org.deeplearning4j” % “deeplearning4j-modelimport” % dl4jVersion,  
“org.deeplearning4j” % “deeplearning4j-nn” % dl4jVersion,  
“org.deeplearning4j” % “deeplearning4j-zoo” % dl4jVersion,  
“org.deeplearning4j” % “deeplearning4j-ui” % dl4jVersion,  
“org.nd4j” % “nd4j-cuda-11.2” % dl4jVersion,  
“org.nd4j” % “nd4j-native-platform” % dl4jVersion,  
“org.nd4j” % “nd4j-tensorflow” % dl4jVersion,  
“org.datavec” % “datavec-data-image” % dl4jVersion,  
“com.fasterxml.jackson.core” % “jackson-databind” % “2.12.4”,  
“org.bytedeco” % “javacv-platform” % “1.5.5”  
),  
scalacOptions ++= Seq(  
“-deprecation” // Emit warning and location for usages of deprecated APIs.  
)  
)

run / javaOptions ++= Seq(“-Xms1024m”, “-Xmx4g”, “-Dorg.bytedeco.javacpp.maxbytes=8G”, “-Dorg.bytedeco.javacpp.maxphysicalbytes=10G”)  
run / fork := true // To enable javaOptions

---

<div class="post-metadata">

**Author:** ![agibsonccc](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/agibsonccc/32/697_2.png) [@agibsonccc](https://community.konduit.ai/u/agibsonccc)\
**Post date:** [August 10, 2021, 12:42pm UTC](https://community.konduit.ai/t/unfamiliar-with-error-result-from-loading-and-testing/1545/7 "2021-08-10T12:42:48Z")

</div>

> [@saudet](#):
>
> file.

Ok, so if it’s what @saudet said, this is pretty common and means you need to either install cudnn, or completely wipe cuda from your computer and use redist.

Try just installing cudnn first and seeing what that does. If you do follow this route, ensure the version of cudnn matches _exactly_ with the version used by dl4j, otherwise you’ll have errors like this.
