Comments (2)
I've found that when I use parameterizations = ["quaternion"], other errors occur, as follows:
(diffpose_copy) (base) cyx@server1:~/autodl-tmp/DiffPose_copy/experiments/deepfluoro$ python register.py
main
ckpt se3_log_map
0%| | 0/111 [00:00<?, ?it/s]convention None
0%| | 0/111 [00:00<?, ?it/s]
Traceback (most recent call last):
File "/home/data/cyx/autodl-tmp/DiffPose_copy/experiments/deepfluoro/register.py", line 325, in <module>
main(id_number, parameterization=parameterization)
File "/home/data/cyx/autodl-tmp/DiffPose_copy/experiments/deepfluoro/register.py", line 290, in main
df = registration.run(idx)
^^^^^^^^^^^^^^^^^^^^^
File "/home/data/cyx/autodl-tmp/DiffPose_copy/experiments/deepfluoro/register.py", line 143, in run
param, geo, tre = self.evaluate(registration)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/data/cyx/autodl-tmp/DiffPose_copy/experiments/deepfluoro/register.py", line 109, in evaluate
est_pose = registration.get_current_pose()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/data/cyx/miniconda3/envs/diffpose_copy/lib/python3.12/site-packages/diffpose/registration.py", line 248, in get_current_pose
return convert(self.rotation,
^^^^^^^^^^^^^^^^^^^^^^
File "/home/data/cyx/miniconda3/envs/diffpose_copy/lib/python3.12/site-packages/diffdrr/pose.py", line 148, in convert
return convert(matrix, parameterization="matrix")
^^^^^^
UnboundLocalError: cannot access local variable 'matrix' where it is not associated with a value
from diffpose.
Hi @CYXYZ sorry for the slow response on this. I am working on a big update to DiffDRR (you can track it here), and am waiting to update DiffPose until this is completed. Thank you for your patience.
from diffpose.
Related Issues (20)
- Dynamic display of registration process HOT 4
- AutoExecutor.map_array (main, id_numbers) code is not running. HOT 3
- How to learn the pose regression Model? HOT 8
- How to build a stable Conda environment for running Diffpose HOT 4
- How to train a model using real preoperative CT scans and intraoperative X-ray images taken with a C-arm machine? HOT 4
- About train.py - parameterization HOT 1
- How to make the animation gif file? HOT 2
- How to obtain internal and external parameters of C-arm machine? HOT 7
- pytorch3d missing error HOT 2
- A little question about PnP Regularizer HOT 3
- Question about the mTRE HOT 5
- About detector target points HOT 1
- custom dataset load for train HOT 2
- How to decide the sample range on se(3)? HOT 1
- DRR image abnormal HOT 3
- using diffpose for my data HOT 6
- difference with DiffDRR? HOT 2
- What does mean the subsample? HOT 7
- Determine extrinsic camera parameters X-ray HOT 4
- Train one model for 6 specimen HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diffpose.