-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use X-ray data apart from the provided dataset? #46
Comments
hi @JDLAmbrose , the only thing I can think of is that images are preprocessed before being fed to the network DiffPose/experiments/deepfluoro/register.py Line 110 in b3937c4
are you also doing this with the synthetic images before predicting their pose? |
Hi @eigenvivek, very appreciate for your prompt feedback! that's something that I haven't noticed before. I plan to use a lower version of diffdrr(v 0.3.11) instead, but still encounter different issues. I use your solution in https://github.com/eigenvivek/DiffDRR/issues/225 but didn't work. So which version of diffdrr do I need to use in order to match the model that trained by diffpose? Do you have any brilliant idea or recommend of solving this problem??? I also try diffdrr v0.4.4 to generate a DRR I found it always shows half pic.(it happens when using read(), it runs perfectly in load_example_ct())
I'm really confused about that. The example runs fine but when it turns to my code, it gots problems. Can you give some advice about that? that will be appreciated!!! However, thanks again for your reply, that's really helpful !! |
hi @JDLAmbrose , the |
That's great to hear that!!! It really has some difficulties when facing different version. But I think is not with the diffdrr version in diffpose, cuz I use However, I suppose your coming work will be definitely helpful for everyone who use this amazing work. |
Hi Vivek:
thank you for posting your brilliant work, that's fascinating!
Here's a problem when I try to use Deepfluoro data in register.py.
I use the original Deepfluoro data 17-1905 and create a DRR image with a custom position and rotation matrix. I'd like to use this custom image to test the well-trained diffpose model by running register.py.
I've checked the data number etc. and they are all set. But I encounter this issue:
The offset in initialize_registration(self, img) function shows NaN
RigidTransform(matrix= tensor([[[nan, nan, nan, nan], [nan, nan, nan, nan], [nan, nan, nan, nan], [0., 0., 0., 1.]]], device='cuda:0'))
Do the custom image needs any other preprocess measures to fit into the diffpose model??? Cuz it all performs really well when I switch to a X-ray image data from original dataset that provided.
It really gets me frustrated, I don't know what's wrong with that.
Am I got anything wrong?
I'll attach the whole announcing Error at the bottom.
Hoping to grab some advice from u !!! thanks a lot !!!
And thanks again for your amazing work.
Looking forward to getting your early reply.
The text was updated successfully, but these errors were encountered: