arcadelab / deepdrr

Code for "DeepDRR: A Catalyst for Machine Learning in Fluoroscopy-guided Procedures". https://arxiv.org/abs/1803.08606
GNU General Public License v3.0
209 stars 60 forks source link

ValueError on example_projector !? #53

Closed fselka closed 3 years ago

fselka commented 3 years ago

Hi by running the example_projector.py I had this error: File "/deepdrr/deepdrr/projector/projector.py", line 462, in project ijk_from_world @ world_from_index, ValueError: matmul: Input operand 1 has a mismatch in its core dimension 0, with gufunc signature (n?,k),(k,m?)->(n?,m?) (size 3 is different from 4). Any clues ?

benjamindkilleen commented 3 years ago

@mmjudish I believe this is something you were working on?

benjamindkilleen commented 3 years ago

The example projector script has now been simplified and corrected. It should run smoothly.