TensorFlow2.0_SSD
TensorFlow2.0_SSD copied to clipboard
我想训练自己的模型但是报错了
我想训练512的模型,把尺寸改了但是有如下错误
2023-05-02 13:07:23.003633: I tensorflow/core/common_runtime/executor.cc:1197] [/device:CPU:0] (DEBUG INFO) Executor start aborting (this does not indicate an error and you can ignore this message): INVALID_ARGUMENT: You must feed a value for placeholder tensor 'Placeholder/_0' with dtype string and shape [1]
[[{{node Placeholder/_0}}]]
2023-05-02 13:07:23.003876: I tensorflow/core/common_runtime/executor.cc:1197] [/device:CPU:0] (DEBUG INFO) Executor start aborting (this does not indicate an error and you can ignore this message): INVALID_ARGUMENT: You must feed a value for placeholder tensor 'Placeholder/_0' with dtype string and shape [1]
[[{{node Placeholder/_0}}]]
Traceback (most recent call last):
File "/pfs/data5/home/kit/wbk/ea7309/ssd512_py3.8/TensorFlow2.0_SSD/train.py", line 94, in
我现在不用TensorFlow了,你可以用我最新写的这个代码:https://github.com/calmisential/DeepLearning.pytorch,里面有SSD算法
我现在不用TensorFlow了,你可以用我最新写的这个代码:[https://github.com/calmisential/DeepLearning.pytorch,里面有SSD算法]我打开不了这个网页
这个: https://github.com/calmisential/DeepLearning.pytorch
SSD的配置文件是: https://github.com/calmisential/DeepLearning.pytorch/blob/main/configs/ssd_cfg.py 你可以在其中修改相关训练参数 接着把train.py里面的CONFIG修改为ssd的配置文件路径,然后运行train.py就可以开始训练了。 ssd要训出好的效果很难,建议你直接用我这个仓库里面的YOLOv8来做目标检测
如果我使用的是512*512的图是直接改ssd_ cfg的尺寸就可以了嘛
如果我使用的是512*512的图是直接改ssd_ cfg的尺寸就可以了嘛
输入只能是300*300,SSD512的网络结构与SSD300不一样,后续我有时间会把SSD512加上去
好的,谢谢
好的,谢谢
我更新了代码,现在可以输入512*512尺寸的图片了
你有git push吗?为什么我没看到有更改呢?