yolov4-tf2 icon indicating copy to clipboard operation
yolov4-tf2 copied to clipboard

这是一个yolo4-tf2(tensorflow2)的源码,可以用于训练自己的模型。

Results 35 yolov4-tf2 issues
Sort by recently updated
recently updated
newest added

由于我使用的数据集尺寸非常多,导致默认的mIOU很低,因此我尝试在yolo_anchors.txt文件中加入anchors使得总共有20个anchors,但是程序运行报错,这个该如何求解。谢谢博主 ![image](https://user-images.githubusercontent.com/55936488/100320251-e4643000-2ffb-11eb-90bf-363a2489cdfd.png) ![image](https://user-images.githubusercontent.com/55936488/100320292-f1811f00-2ffb-11eb-904a-575de5e39f71.png)

大哥,,,帮帮忙!!!!! 报错位置是这里: ![image](https://user-images.githubusercontent.com/51184036/99968714-75f15900-2dd4-11eb-8a06-0237d52c5b82.png) ![image](https://user-images.githubusercontent.com/51184036/99968739-80abee00-2dd4-11eb-8457-4edbe703e387.png) model.fit(data_generator(lines[:num_train], batch_size, input_shape, anchors, num_classes, mosaic=mosaic), steps_per_epoch=max(1, num_train//batch_size), validation_data=data_generator(lines[num_train:], batch_size, input_shape, anchors, num_classes, mosaic=False), validation_steps=max(1, num_val//batch_size), epochs=Freeze_epoch, initial_epoch=Init_epoch, max_queue_size=1, callbacks=[logging, checkpoint, reduce_lr, early_stopping] ) TypeError: int()...

程序运行后的第一次检测,速度特别慢。如果要运用于移动端,应该怎么解决呢?

请教,生成的中间文件2007_train.txt格式是什么样子的?我生成的是这样的: /media/cfs/xxxx/Projects/DetectionOCR_seal/seal_detectionOCR_v1/yolov4_tf2/VOCdevkit/VOC2007/JPEGImages/110.jpg 791.6666666666667,295.0,961.6666666666667,605.0,0 968.6046511627907,347.6744186046512,1086.046511627907,676.7441860465117,1 其中第一个是图片的路径,紧接着的是两个box, 按照顺序分别是x1,y1,x2,y2,class_id, 请问这样对吗?

这种格式,我看在tf1.X中挺常用的,但是在tf2.x中大佬们都不用了。是为什么呢?