【发布时间】:2021-06-29 20:02:53
【问题描述】:
我正在处理带有图表的文本图像。我的图像基本上是黑白的,我不明白为什么我想要图像中的颜色。我在默认设置下得到了一些不错的结果,但我也想在灰度图像上进行测试。我使用this tutorial 作为基础,默认情况下使用AlexyAB's repo for darknet。我想我必须将config 文件更改为:
channels=3 # I think I have to change it to 0
momentum=0.9
decay=0.0005
angle=0 # A link says that I have to comment these all
saturation = 1.5 # This on
exposure = 1.5 # and this one too
hue=.1 # Should I change it to 0 too?
但是there is this link 说我必须评论hue,saturation,angle,exposure 等。我想知道:
- 我必须将图像保存为目录中的灰度,否则代码会自行完成吗?
- 除了设置
channels=1之外,还需要更改一些其他配置吗?将hue设置为0也是suggested in this link - 我是否需要修改一些处理加载图像的函数 as given in this link 作为
load_data_detection函数
【问题讨论】:
标签: deep-learning computer-vision object-detection yolo yolov4