Open AIrobot6 opened 6 years ago
@AIrobot6 Thanks for your question. If you run at the windows platform, i think you can check your tensorflow version firstly. Because keras uses the tensorflow as the back. 1、pip show tensorflow 2、you can use command :pip install --upgrade tensorflow And if your version is 1.10.0 for tensorflow-CPU, the code can run but the speed is a little slow
@AIrobot6 Thanks for your question. If you run at the windows platform, i think you can check your tensorflow version firstly. Because keras uses the tensorflow as the back. 1、pip show tensorflow 2、you can use command :pip install --upgrade tensorflow And if your version is 1.10.0 for tensorflow-CPU, the code can run but the speed is a little slow
你好 ,我的是您说的那个版本,错误依然没有解决?
@AIrobot6 你在更新完tensorflow版本后,有没有重新下载keras,还有你运行的是摄像头还是视频
@AIrobot6 之前有人也是遇到你这个问题,更新完tensorflow的版本问题就解决了
@AIrobot6 https://blog.csdn.net/liuxiao214/article/details/78241193 建议你运行的时候定位下是哪一行出了错,这个版本的原版是在https://github.com/Qidian213/deep_sort_yolov3,你可以在它那里查查
@ AIrobot6你在更新完tensorflow版本后,有没有重新下载keras,还有你运行的是摄像头还是视频
视频 摄像头都是这个错误,这是全部的报错。对于这个错误不知道从哪里下手。已经更新和重新下载 InvalidArgumentError: Input to reshape is a tensor with 3549 values, but the requested shape requires a multiple of 43095 [[Node: Reshape_3 = Reshape[T=DT_FLOAT, Tshape=DT_INT32, _device="/job:localhost/replica:0/task:0/device:CPU:0"](conv2d_59/BiasAdd, Reshape_3/shape)]]
Caused by op 'Reshape_3', defined at:
File "C:\ProgramData\Anaconda3\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "C:\ProgramData\Anaconda3\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\ProgramData\Anaconda3\lib\site-packages\ipykernel_launcher.py", line 16, in
InvalidArgumentError (see above for traceback): Input to reshape is a tensor with 3549 values, but the requested shape requires a multiple of 43095 [[Node: Reshape_3 = Reshape[T=DT_FLOAT, Tshape=DT_INT32, _device="/job:localhost/replica:0/task:0/device:CPU:0"](conv2d_59/BiasAdd, Reshape_3/shape)]]
应该还需要安装skelearn,opencv的依赖库,我是直接用纯python里面的pip安装的python以及各种库,我不知道是否有可能是因为你使用的是anaconda造成的这种原因
应该还需要安装skelearn,opencv的依赖库,我是直接用纯python里面的pip安装的python以及各种库,我不知道是否有可能是因为你使用的是anaconda造成的这种原因
请问是sklean 还是sklearn??
https://github.com/Qidian213/deep_sort_yolov3, 你去这个项目里看看具体的需要什么,你看看按照原版你能使用吗
https://github.com/Qidian213/deep_sort_yolov3, 你去这个项目里看看具体的需要什么,你看看按照原版你能使用吗
原版也是会出现这种错误,
你好 看到您的关于deep-sort yolov3的文章,下载下来不能正常运行显示报错,Windows 下 Input to reshape is a tensor with 3549 values, but the requested shape requires a multiple of 43095 [[Node:Reshape_75=Reshape[T=DT_FLOAT,Tshape=DT_INT32,_device="/job:localhost/replica:0/task:0/device:CPU:0"](conv2d_59_4/BiasAdd, Reshape_75/shape)]] 一直没有找到问题的根源 特别写了这封邮件 寻求您的帮助,希望您给一些详细的使用教程 期待您的回复。 谢谢