Giter Site home page Giter Site logo

tensorflow.python.framework.errors_impl.InvalidArgumentError: ConcatOp : Dimensions of inputs should match: shape[0] = [9,1] vs. shape[2] = [8,1] testutils genered corrupted tf records about object-detection-tensorflow HOT 5 CLOSED

stick-to avatar stick-to commented on May 17, 2024
tensorflow.python.framework.errors_impl.InvalidArgumentError: ConcatOp : Dimensions of inputs should match: shape[0] = [9,1] vs. shape[2] = [8,1] testutils genered corrupted tf records

from object-detection-tensorflow.

Comments (5)

zcunyi avatar zcunyi commented on May 17, 2024
Traceback (most recent call last):
  File "/home/vkhvorostianyi/anaconda3/envs/refinedet_tf/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1334, in _do_call
    return fn(*args)
  File "/home/vkhvorostianyi/anaconda3/envs/refinedet_tf/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1319, in _run_fn
    options, feed_dict, fetch_list, target_list, run_metadata)
  File "/home/vkhvorostianyi/anaconda3/envs/refinedet_tf/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1407, in _call_tf_sessionrun
    run_metadata)
tensorflow.python.framework.errors_impl.InvalidArgumentError: ConcatOp : Dimensions of inputs should match: shape[0] = [9,1] vs. shape[2] = [8,1]
         [[{{node concat_1}}]]
         [[{{node IteratorGetNext}}]]
         [[{{node IteratorGetNext}}]]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "testrefinedet.py", line 68, in <module>
    mean_loss = refinedet.train_one_epoch(lr)
  File "/home/vkhvorostianyi/Object-Detection-API-Tensorflow/RefineDet.py", line 587, in train_one_epoch
    _, loss = self.sess.run([self.train_op, self.loss], feed_dict={self.lr: lr})
  File "/home/vkhvorostianyi/anaconda3/envs/refinedet_tf/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 929, in run
    run_metadata_ptr)
  File "/home/vkhvorostianyi/anaconda3/envs/refinedet_tf/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1152, in _run
    feed_dict_tensor, options, run_metadata)
  File "/home/vkhvorostianyi/anaconda3/envs/refinedet_tf/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1328, in _do_run
    run_metadata)
  File "/home/vkhvorostianyi/anaconda3/envs/refinedet_tf/lib/python3.7/site-packages/tensorflow/python/client/session.py", line 1348, in _do_call
    raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: ConcatOp : Dimensions of inputs should match: shape[0] = [9,1] vs. shape[2] = [8,1]
         [[{{node concat_1}}]]
         [[node IteratorGetNext (defined at /home/vkhvorostianyi/Object-Detection-API-Tensorflow/RefineDet.py:63) ]]
         [[node IteratorGetNext (defined at /home/vkhvorostianyi/Object-Detection-API-Tensorflow/RefineDet.py:63) ]]

The problem is address to code for VOC dataset, dunno about the rest

have you solved the problem?

from object-detection-tensorflow.

vkhvorostianyi avatar vkhvorostianyi commented on May 17, 2024

Yep, I've solved, I used the code from RefineDet repo. thanks

from object-detection-tensorflow.

KapilM26 avatar KapilM26 commented on May 17, 2024

Hey, I am having the same problem, please let me know what you have done.
Thanks

from object-detection-tensorflow.

lvZic avatar lvZic commented on May 17, 2024

Yep, I've solved, I used the code from RefineDet repo. thanks

Hey, I am having the same problem, please let me know what you have done.
Thanks

from object-detection-tensorflow.

lvZic avatar lvZic commented on May 17, 2024

Hey, I am having the same problem, please let me know what you have done.
Thanks

Hey, I am having the same problem, please let me know what you have done.
Thanks

from object-detection-tensorflow.

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.