Giter Site home page Giter Site logo

ReLERNN_TRAIN_POOL is slow about relernn HOT 3 CLOSED

kr-colab avatar kr-colab commented on May 28, 2024
ReLERNN_TRAIN_POOL is slow

from relernn.

Comments (3)

klucek avatar klucek commented on May 28, 2024

Hi, I have a poolseq data set that I would like to analyze. However, even with the training data set I encounter the same error message

Epoch 1/2

^M 1/100 [..............................] - ETA: 15:44 - loss: 1.1623^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^$ 2020-05-06 13:58:50.410794: W tensorflow/core/kernels/data/generator_dataset_op.cc:103] Error occurred when finalizing GeneratorDataset iterator: Cancelled: Operation was cancelled
Epoch 2/2
^M 1/100 [..............................] - ETA: 9:11 - loss: 1.1022^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H^H$ 2020-05-06 14:10:56.902371: W tensorflow/core/kernels/data/generator_dataset_op.cc:103] Error occurred when finalizing GeneratorDataset iterator: Cancelled: Operation was cancelled
findfont: Font family ['serif'] not found. Falling back to DejaVu Sans.

The program nevertheless continues, but can these outputs be taken serious given the errors above?

from relernn.

jradrion avatar jradrion commented on May 28, 2024

Hi @klucek,

I haven't had found that the tensorflow error Error occurred when finalizing GeneratorDataset iterator: Cancelled: Operation was cancelled changes the results, but I'm not sure about the ^H^Hs.

Can you check to see if a file named ./networks/testResults.pdf was created? If so, then you should be able to see a plot of the training history on the bottom, and the predictions on the test set on the top. Provided those look normal, and the model and weights were created (./networks/model.json & ./networks/weights.h5), you should be able to ignore the above errors.

I'm hoping that these error messages will be resolved when I'm able to move to an updated tensorflow version.

from relernn.

jradrion avatar jradrion commented on May 28, 2024

I added optional muti-threading to model.fit for training on pool-seq data. Multi-threading can be disabled by simply using the default option for --nCPU in ReLERNN_TRAIN and ReLERNN_TRAIN_POOL. Everything seems to be working using tensorflow 2.2, which is now the supported version via the README. I'm going to go ahead and close this issue now.

from relernn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.