Closed yeetan closed 4 years ago
Hello,
Please make sure you are using the Pytorch version of NMR. The directions for installation are in the README https://github.com/akanazawa/human_dynamics#install-external-dependencies
Here's what the __init__
should look like:
https://github.com/daniilidis-group/neural_renderer/blob/55a05a28d70e278edd9e04b812b27e747486ccaf/neural_renderer/renderer.py#L11-L19
Best, Jason
File "G:\firestrike2020\human_dynamics-master\src\util\render\nmr_renderer.py", line 58, in init img_size, camera_mode='look_at', perspective=False) TypeError: init() got an unexpected keyword argument 'camera_mode'
in file nmr_render.py, it failed to call nr.Renderer(), feeds three parameters self.renderer = nr.Renderer( img_size, camera_mode='look_at', perspective=False)
but the nr.Renderer's definition as follow: class Renderer(object): def init(self):
it accepts no parameter, it's a wired error