• J
    JaredHzp

    @Jarvis 有什么发现吗 如果你有跑过的话 可以将的步骤发给我 或者展示出来
    万分感谢

    发布在 社区求助区(SOS!!) 阅读更多
  • J
    JaredHzp

    /Users/jared/python3/anaconda/anaconda3/envs/tensorflow/bin/python /Users/jared/Desktop/ocrcn_tf2/ocrcn_tf2/train_simple.py
    INFO Welcome to MANA AI platform!02.26 09:09:01
    train_simple.py:42: all characters: 3755

    __  ______    _   _____    ___    ____
    

    / |/ / | / | / / | / | / /
    / /|
    / / /| | / |/ / /| | / /| | / /
    / / / / ___ |/ /| / ___ |/ ___ |/ /
    /
    / /// |// |// |// |/__/ http://manaai.cn

    once you saw this msg, indicates you were back supported by our team!
    the latest updates of our codes always at: https://gitlab.com/StrangeAI/ocrcn_tf2.git or http://manaai.cn
    NOTE: Our codes distributed from anywhere else were not supported!
    Traceback (most recent call last):
    File "/Users/jared/python3/anaconda/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow_core/python/eager/context.py", line 1897, in execution_mode
    yield
    File "/Users/jared/python3/anaconda/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow_core/python/data/ops/iterator_ops.py", line 659, in _next_internal
    output_shapes=self._flat_output_shapes)
    File "/Users/jared/python3/anaconda/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow_core/python/ops/gen_dataset_ops.py", line 2479, in iterator_get_next_sync
    _ops.raise_from_not_ok_status(e, name)
    File "/Users/jared/python3/anaconda/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow_core/python/framework/ops.py", line 6606, in raise_from_not_ok_status
    six.raise_from(core._status_to_exception(e.code, message), None)
    File "", line 3, in raise_from
    tensorflow.python.framework.errors_impl.InvalidArgumentError: Input to reshape is a tensor with 8585 values, but the requested shape has 4096
    [[{{node Reshape}}]] [Op:IteratorGetNextSync]

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File "/Users/jared/Desktop/ocrcn_tf2/ocrcn_tf2/train_simple.py", line 121, in
    train()
    File "/Users/jared/Desktop/ocrcn_tf2/ocrcn_tf2/train_simple.py", line 49, in train
    for data in train_dataset.take(2):
    File "/Users/jared/python3/anaconda/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow_core/python/data/ops/iterator_ops.py", line 630, in next
    return self.next()
    File "/Users/jared/python3/anaconda/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow_core/python/data/ops/iterator_ops.py", line 674, in next
    return self._next_internal()
    File "/Users/jared/python3/anaconda/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow_core/python/data/ops/iterator_ops.py", line 665, in _next_internal
    return structure.from_compatible_tensor_list(self._element_spec, ret)
    File "/Users/jared/python3/anaconda/anaconda3/envs/tensorflow/lib/python3.7/contextlib.py", line 130, in exit
    self.gen.throw(type, value, traceback)
    File "/Users/jared/python3/anaconda/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow_core/python/eager/context.py", line 1900, in execution_mode
    executor_new.wait()
    File "/Users/jared/python3/anaconda/anaconda3/envs/tensorflow/lib/python3.7/site-packages/tensorflow_core/python/eager/executor.py", line 67, in wait
    pywrap_tensorflow.TFE_ExecutorWaitForAllPendingNodes(self._handle)
    tensorflow.python.framework.errors_impl.InvalidArgumentError: Input to reshape is a tensor with 8585 values, but the requested shape has 4096
    [[{{node Reshape}}]]

    进程已结束,退出代码 1

    发布在 社区求助区(SOS!!) 阅读更多

与 神力AI社区 的连接断开,我们正在尝试重连,请耐心等待