Update mesh_renderer.py
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user