polmorenoc / opendr

Modern OpenDR
141 stars 32 forks source link

fix some errors in renderer & chumpy & demo_cube #11

Open Lemon-XQ opened 4 years ago

Lemon-XQ commented 4 years ago
  1. fix error "module 'chumpy.ch' has no attribute 'tensordot'"
  2. fix error "ValueError: cannot reshape array of size 2702970 into shape (846,846,3)": in renderer.py xxxx.reshape(self.frustum['height'],self.frustum['height'],3) is wrong, which should be modified as reshape(self.frustum['height'],self.frustum['width'],3)
  3. fix error "AttributeError: 'ColoredRenderer' object has no attribute 'vn'"