[ERROR] [nvjpeg_cuda_encoder] Could not encode jpeg code stream - nvjpeg error #8

未關閉
#30 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
30/100
Issue 類型
缺陷
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
cpp

研究方向

從 extensions/nvjpeg/cuda_encoder.cpp:420 開始,檢查 nvjpegEncodeYUV 呼叫及其周圍的任何 fallback 或 logging 路徑。確定看似成功的輸出是否使用了 CPU fallback,以及是否可以抑制或降低此錯誤的層級;記錄觀察到的行為和適當的解決方案。

由索引模型根據 Issue 內容生成。

描述

question
Describe the question.

When using the JPEG encoder, the following error message appears when processing smaller-sized images:
[ERROR] [nvjpeg_cuda_encoder] Could not encode jpeg code stream - nvjpeg error #8 (internal error) when running nvjpegEncodeYUV(handle_, state, encode_params.get(), &input_image, input_chroma_subsampling, image_info.plane_info[0].width, image_info.plane_info[0].height, image_info.cuda_stream) at /home/jenkins/agent/workspace/nvimagecodec/helpers/release_v0.4.0/Release_12/build/extensions/nvjpeg/cuda_encoder.cpp:420.
However, the saved image looks like correct. I would like to confirm whether, in this case, the encoding falls back from GPU nvjpeg to CPU. Additionally, is there a way to suppress this error message or change it to a warning?

Check for duplicates
  • I have searched the open bugs/issues and have found no duplicates for this bug report
主要語言
Jupyter Notebook
星號
164
分支
26
平均合併
27 分鐘
30 天內合併 PR
1

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

NVIDIA/nvImageCodec 的其他 Issue

查看 NVIDIA/nvImageCodec 的全部 Issue

相似的 Issue

更多 Computer Vision Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。