We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
你好,我这里有两个问题需要请教下: 1、中文标签训练时编码为什么格式,我训练时索引输出错误,索引往后偏移了3或4位不固定 2、代码里train时横竖排预处理都是为宽256 高64,这样不会把竖排样本变形吗
The text was updated successfully, but these errors were encountered:
# h_loader和v_loader分别是横排样本和竖排样本的dataloader count_h, count_v = len(self.h_loader), len(self.v_loader) h_iter, v_iter = iter(self.h_loader), iter(self.v_loader) while count_h > 0 or count_v > 0: if random.random() < count_h / (count_h +count_v): ims, texts = h_iter.next() count_h -= 1 else: ims, texts = v_iter.next() count_v -= 1
Sorry, something went wrong.
No branches or pull requests
你好,我这里有两个问题需要请教下:
1、中文标签训练时编码为什么格式,我训练时索引输出错误,索引往后偏移了3或4位不固定
2、代码里train时横竖排预处理都是为宽256 高64,这样不会把竖排样本变形吗
The text was updated successfully, but these errors were encountered: