天天看點

可微渲染 SoftRas 實踐

SoftRas 是目前主流三角網格可微渲染器之一。

可微渲染通過計算渲染過程的導數,使得從單張圖檔學習三維結構逐漸成為現實。可微渲染目前被廣泛地應用于三維重建,特别是人體重建、人臉重建和三維屬性估計等應用中。

<code>conda</code> 安裝 PyTorch 環境:

擷取代碼并安裝:

可設 <code>setup.py</code> 鏡像源:

安裝模型檢視工具:

渲染測試:

渲染結果:

可微渲染 SoftRas 實踐

對比前後模型:

下載下傳資料集:

訓練模型:

可微渲染 SoftRas 實踐

測試模型:

Mesh 重建:

重建圖像:

可微渲染 SoftRas 實踐

重建結果:

可微渲染 SoftRas 實踐

或重建 ShapeNet 資料集内圖像:

或使用 SoftRas 訓練好的模型:

SoftRas trained with silhouettes supervision (62+ IoU): google drive

SoftRas trained with shading supervision (64+ IoU, test with <code>--shading-model</code> arg): google drive

SoftRas reconstructed meshes with color (random sampled): google drive

Jrender - Jittor

JRender 解讀

3D Recon

GoCoding 個人實踐的經驗分享,可關注公衆号!

繼續閱讀