Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 26 22:03
    User @agibsonccc unbanned @farizrahman4u
  • Aug 26 22:02
    User @agibsonccc unbanned @RobAltena
  • Aug 26 22:02
    User @agibsonccc unbanned @gsw85
  • Aug 26 22:02
    User @agibsonccc unbanned @raver120
  • Aug 26 22:01
    User @agibsonccc unbanned @cagneymoreau
  • Aug 20 21:19
    @chrisvnicholson banned @cagneymoreau
  • Aug 20 21:15
    @chrisvnicholson banned @konduitops
  • Aug 20 21:13
    User @chrisvnicholson unbanned @eraly
  • Aug 20 21:12
    User @chrisvnicholson unbanned @treo
  • Aug 20 21:12
    User @chrisvnicholson unbanned @AlexDBlack
  • Jul 07 22:38
    @chrisvnicholson banned @raver120
  • May 31 20:46
    @chrisvnicholson banned @ShamsUlAzeem
  • May 31 20:46
    @chrisvnicholson banned @farizrahman4u
  • May 31 20:44
    @chrisvnicholson banned @gsw85_twitter
  • May 31 20:44
    @chrisvnicholson banned @gsw85
  • May 31 20:43
    @chrisvnicholson banned @AlexDBlack
  • May 31 20:43
    @chrisvnicholson banned @agibsonccc
  • May 31 20:43
    @chrisvnicholson banned @RobAltena
  • May 31 20:42
    @chrisvnicholson banned @eraly
  • May 31 20:42
    @chrisvnicholson banned @treo
ADAMYA850
@ADAMYA850
I AM ADAMYA
I AM LERNING PYTHON
CAN ANYBODY OF YOU HELP mE
cawthorne
@cawthorne

Hi.

When I try to install nd4j on an arm64 server that doesn't have glibc 2.7 I get the error:

Caused by: java.lang.UnsatisfiedLinkError: /home/*/.javacpp/cache/benchmarks.jar/org/nd4j/nativeblas/linux-arm64/libjnind4jcpu.so: /lib64/libm.so.6: versionGLIBC_2.27' not found (required by /home/*/.javacpp/cache/benchmarks.jar/org/nd4j/nativeblas/linux-arm64/libnd4jcpu.so`

However it does work when installed on a server with that glibc.

Is there anyway to support other glibc environments? Or is everyone who doesn't have glibc 2.7 considered unsupported?

Thanks,
Greg

Eilons
@Eilons
image.png

Hi All.
I have a mac and use maven.
In my pom I added:

<dependency>
<groupId>org.deeplearning4j</groupId>
<artifactId>deeplearning4j-core</artifactId>
<version>1.0.0-beta7</version>
</dependency>
<dependency>
<groupId>org.nd4j</groupId>
<artifactId>nd4j-native</artifactId>
<version>1.0.0-beta7</version>
</dependency>
<dependency>
<groupId>org.deeplearning4j</groupId>
<artifactId>deeplearning4j-nlp</artifactId>
<version>1.0.0-beta7</version>
</dependency>
<dependency>
<groupId>org.deeplearning4j</groupId>
<artifactId>deeplearning4j-modelimport</artifactId>
<version>1.0.0-beta7</version>
</dependency>

I try to call the Word2Vec class but I get that the class is not identify (attached).
Can anyone help?

Note that when I use my windows computer, everything works fine
Adam Gibson
@agibsonccc
Use nd4j-native-platform and ensure intelij/eclipse updates its cache properly
Eilons
@Eilons
Wow! perfect! Thanks!
cawthorne
@cawthorne
bump for my post :)
Eduardo Gonzalez
@wmeddie
Are you using a really new OS?
cawthorne
@cawthorne
ubuntu 16
I have 2.23 installed and it needs 2.7
what would be the best way to resolve this do you think?
Eduardo Gonzalez
@wmeddie
Ah, the opposite problem.
for ubuntu… not sure.
cawthorne
@cawthorne
What are the general steps for an os you are familiar with?
Eduardo Gonzalez
@wmeddie
In Red-hot/Centos there’s devtoolset that you can possibly install.
And you run it after you’ve activated a recent enough devtoolset.
cawthorne
@cawthorne
Ah cool. Can it also do Downgrading if needed?
Eduardo Gonzalez
@wmeddie
otherwise, you can create a chroot with a newer version.
You have to “activate it” every time you want to use it.
cawthorne
@cawthorne
Ah okay good to know thanks
Eduardo Gonzalez
@wmeddie
same goes for the chroot.
cawthorne
@cawthorne
Ah I thought you were talking about chroot. Okay thanks.
NT
@nimishatandon
Am looking for some guidance s that my models are reproducible
When using dl4j beta-7. When using beta-2 and training with the exact same test and train data I was getting consistent models , but it's not the case with beta-7 .
Eduardo Gonzalez
@wmeddie
If you can share something reproducible in a bug report we will look into it. Properly seeding all of the libraries we integrate with is non-trivial.
NT
@nimishatandon
It's a vanilla LSTM model that I am training . Would you still like me to share the configuration and the stopping criteria of my models? I read on your website that setting the seed in the configuration object would help make the models reproducible. If there are other such recommendations I could follow that would be really helpful.
Eduardo Gonzalez
@wmeddie
If it was reproducible in beta2 and no longer the case (and nothing about that mentioned in the release notes) then its a bug.
cawthorne
@cawthorne

Hey so I noticed you guys don't have some of the blas routines implemented in nd4j, and from building from source I found these can be implemented trivially. For example strmv triggers a java.lang.UnsupportedOperationException error but if I just change 2 lines in the code I get it to work as it has a openblas version available.

Would you guys accept a PR from me filling in all the Blas and LAPACK routines? Or is this limited coverage somehow intentional?

openblas has very good coverage
Eduardo Gonzalez
@wmeddie
I can’t see why it’d be intentional.. but I’m not 100% sure.
lorne
@1991wangliang
when i call INDArray.columns() throws that Exception:
Exception in thread "main" java.lang.IllegalStateException: Rank is [3]; columns() call is not valid
    at org.nd4j.linalg.api.ndarray.BaseNDArray.columns(BaseNDArray.java:4017)
my code :
       INDArray array = Nd4j.rand(1, 2,3);
       System.out.println(array.shapeInfoToString());
       System.out.println(array);
       System.out.println(array.columns());
on beta4 was working.
lorne
@1991wangliang
public int columns() {
        if (isMatrix())
            return (int) size(1);
        else if (Shape.isColumnVectorShape(shape())) {
            return 1;
        } else if (Shape.isRowVectorShape(shape())) {
            return (int) length();
        }
        throw new IllegalStateException("Rank is [" + rank() + "]; columns() call is not valid");


    }
array.columns() == array.size(2) ?
Adam Gibson
@agibsonccc
@1991wangliang just use arr.size(-1) if you want the last dimension.
Josaped Moreno
@androuino

Hello, anyone would care to help me why am getting this kind of error with training TinyYOLO?

Exception in thread "main" java.lang.IllegalStateException: Cannot add vertex: a vertex with name "outputs" already exists

Thank you.

John E. Ortega
@johneortega
Hi, I'm trying to import a Keras (functional) model into DL4j, I'm using 1.0.0Beta7 but have also tried previous version, it gives me an error: "Expected model class name Model (found Functional). For more information, see http://deeplearning4j.org/docs/latest/keras-import-overview" can anyone help?
Maybe it has something to do with the architecture or something.. i can't figure it out.
John E. Ortega
@johneortega
BTW, the Sequential Keras models work fine, yet, the functional one, even the ones from the Konduit tutorial, don't work.
Eduardo Gonzalez
@wmeddie
There’s a separate API for Functional models.
Adam Gibson
@agibsonccc
@johneortega JFYI, for search results, I would suggest moving questions over to the forum if possible
A sequential model is a multi layer network, A functional model is a computation graph. There's 2 different method calls for import to use.
@androuino can you ask more over on https://community.konduit.ai/ ?
cawthorne
@cawthorne
Do any of you know where I can find the source code for libjniopenblas.so? I am thinking it is some kind of automatic linker for the OpenBLAS shared objects, but not sure where it comes from.