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
作者你好,想请教一个问题,随机裁剪两个上下文后,怎么保证输出序列中out1和out2第一个索引在原始序列中对应的是同一个时间戳,如果不是对应的话,后面计算损失函数感觉和原文提到的不一样。 out1 = self._net(take_per_row(x, crop_offset + crop_eleft, crop_right - crop_eleft)) out1 = out1[:, -crop_l:]
out2 = self._net(take_per_row(x, crop_offset + crop_left, crop_eright - crop_left)) out2 = out2[:, :crop_l]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
作者你好,想请教一个问题,随机裁剪两个上下文后,怎么保证输出序列中out1和out2第一个索引在原始序列中对应的是同一个时间戳,如果不是对应的话,后面计算损失函数感觉和原文提到的不一样。
out1 = self._net(take_per_row(x, crop_offset + crop_eleft, crop_right - crop_eleft))
out1 = out1[:, -crop_l:]
out2 = self._net(take_per_row(x, crop_offset + crop_left, crop_eright - crop_left))
out2 = out2[:, :crop_l]
The text was updated successfully, but these errors were encountered: