Coder Social home page Coder Social logo

training error about deep-fluids HOT 4 CLOSED

byungsook avatar byungsook commented on August 17, 2024
training error

from deep-fluids.

Comments (4)

byungsook avatar byungsook commented on August 17, 2024

would you give me more information? I haven't tested this repo with TF 1.14. Try 1.12.

from deep-fluids.

Nimava avatar Nimava commented on August 17, 2024

Thanks so much. What information do you need? When I run the main.py, I have these messages:

Traceback (most recent call last):
  File "main.py", line 7, in <module>
    from trainer import Trainer
  File "/home/symphony/manta/trainer.py", line 9, in <module>
    from model import *
  File "/home/symphony/manta/model.py", line 3, in <module>
    from ops import *
  File "/home/symphony/manta/ops.py", line 6, in <module>
    import tensorflow.contrib.slim as slim
  File "/home/symphony/.conda/envs/tf/lib/python3.7/site-packages/tensorflow/contrib/__init__.py", line 37, in <module>
    from tensorflow.contrib import cudnn_rnn
  File "/home/symphony/.conda/envs/tf/lib/python3.7/site-packages/tensorflow/contrib/cudnn_rnn/__init__.py", line 38, in <module>
    from tensorflow.contrib.cudnn_rnn.python.layers import *
  File "/home/symphony/.conda/envs/tf/lib/python3.7/site-packages/tensorflow/contrib/cudnn_rnn/python/layers/__init__.py", line 23, in <module>
    from tensorflow.contrib.cudnn_rnn.python.layers.cudnn_rnn import *
  File "/home/symphony/.conda/envs/tf/lib/python3.7/site-packages/tensorflow/contrib/cudnn_rnn/python/layers/cudnn_rnn.py", line 20, in <module>
    from tensorflow.contrib.cudnn_rnn.python.ops import cudnn_rnn_ops
  File "/home/symphony/.conda/envs/tf/lib/python3.7/site-packages/tensorflow/contrib/cudnn_rnn/python/ops/cudnn_rnn_ops.py", line 22, in <module>
    from tensorflow.contrib.rnn.python.ops import lstm_ops
  File "/home/symphony/.conda/envs/tf/lib/python3.7/site-packages/tensorflow/contrib/rnn/__init__.py", line 91, in <module>
    from tensorflow.contrib.rnn.python.ops.lstm_ops import *
  File "/home/symphony/.conda/envs/tf/lib/python3.7/site-packages/tensorflow/contrib/rnn/python/ops/lstm_ops.py", line 298, in <module>
    @ops.RegisterGradient("BlockLSTM")
  File "/home/symphony/.conda/envs/tf/lib/python3.7/site-packages/tensorflow_core/python/framework/ops.py", line 2489, in __call__
    _gradient_registry.register(f, self._op_type)
  File "/home/symphony/.conda/envs/tf/lib/python3.7/site-packages/tensorflow_core/python/framework/registry.py", line 61, in register
    (self._name, name, function_name, filename, line_number))
KeyError: "Registering two gradient with name 'BlockLSTM'! (Previous registration was in register /home/symphony/.conda/envs/tf/lib/python3.7/site-packages/tensorflow_core/python/framework/registry.py:66)"

from deep-fluids.

byungsook avatar byungsook commented on August 17, 2024

It seems that there is a problem with importing slim. It didn't happen with TF 1.12, so I would recommend to try with different version of TF in your setting.

from deep-fluids.

Nimava avatar Nimava commented on August 17, 2024

from deep-fluids.

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.