We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f50aba commit a8299beCopy full SHA for a8299be
src/torchcodec/decoders/_core/VideoDecoderOps.cpp
@@ -237,11 +237,6 @@ OpsFrameOutput get_next_frame(at::Tensor& decoder) {
237
} catch (const VideoDecoder::EndOfFileException& e) {
238
C10_THROW_ERROR(IndexError, e.what());
239
}
240
- if (result.data.sizes().size() != 3) {
241
- throw std::runtime_error(
242
- "image_size is unexpected. Expected 3, got: " +
243
- std::to_string(result.data.sizes().size()));
244
- }
245
return makeOpsFrameOutput(result);
246
247
0 commit comments