Update mesh_renderer.py

This commit is contained in:
smthemex
2024-12-20 16:15:48 +08:00
committed by GitHub
parent 028857e640
commit 0809282456
+1 -5
View File
@@ -1,9 +1,5 @@
import torch
try:
import kaolin as kal
import nvdiffrast.torch as dr
except :
print("Kaolin and nvdiffrast are not installed. Please install them to use the mesh renderer.")
import nvdiffrast.torch as dr
from easydict import EasyDict as edict
from ..representations.mesh import MeshExtractResult
import torch.nn.functional as F