摘要: 什么是fine-tuning?简单举一个本人的例子来说明 我有两种类型的数据集,一种命名为style1,另一种为style2,两种数据集类型(也就是label)一致,但是数据却采集于不同的地方,比如佛经的手写文字和《黄帝内经》的手写文字。现在我基于style1的数据集上训练出一个识别模型,然后用这个 阅读全文
posted @ 2019-12-23 17:16 import_Hyq 阅读(1055) 评论(0) 推荐(0)
摘要: 1 from PIL import Image 2 import os 3 import cv2 4 import numpy as np 5 6 def rotation(root_path, img_name): 7 pilim = Image.open(os.path.join(root_pa 阅读全文
posted @ 2019-12-23 12:58 import_Hyq 阅读(1530) 评论(0) 推荐(0)
摘要: 1 #读取表格内容 2 import xlrd 3 wb = xlrd.open_workbook(filename=file)#打开文件 4 sheet_names = wb.sheet_names() #读取文件名称 5 Sheet=wb.sheet_by_index(i) #i为表格文件中表的 阅读全文
posted @ 2019-12-23 12:45 import_Hyq 阅读(1220) 评论(0) 推荐(0)