Comments (6)
Could you verify that your data (projections and volume) are all on GPU 0 and are contiguous float32 arrays?
from leap.
l on GPU 0 and are contiguous float32 arrays
Thanks for your reply, Kyle. I did check below in debug mode.
data.dtype is torch.float32, data.is_contiguous is true and all data is on GPU0
from leap.
Thanks for checking. Next thing to check is the order of the data. Some CT software packages store their projection data in "sinogram order" while LEAP stores it in "projection order". In LEAP the order of the projections data is (numAngles, numRows, numCols). Is this consistent with your code?
from leap.
@spencer03172023 How about checking the memory-alignment.
cudaMemcpy3D requires that the src and dst memory be aligned. The src or dst memory must therefore be allocated using cudaMallocPitch or cudaMalloc3D rather than cudaMalloc. Hope it helps you.
from leap.
Thanks for checking. Next thing to check is the order of the data. Some CT software packages store their projection data in "sinogram order" while LEAP stores it in "projection order". In LEAP the order of the projections data is (numAngles, numRows, numCols). Is this consistent with your code?
Thanks, Kyle. I did check the sinogram data structure, and make it same as LEAP requirement. It can work now.
from leap.
@spencer03172023 How about checking the memory-alignment. cudaMemcpy3D requires that the src and dst memory be aligned. The src or dst memory must therefore be allocated using cudaMallocPitch or cudaMalloc3D rather than cudaMalloc. Hope it helps you.
Thanks. Data array difference caused this. Thanks
from leap.
Related Issues (20)
- Remove the limitation of 5 degree aligned to z-axis HOT 5
- Issue with Helical Reconstruction Geometry Parameters in Leap HOT 9
- laminography zero recon slice issue HOT 3
- Incorrect number of voxels in helical geometry when angular range is bigger than 360 degrees HOT 1
- Laminography multiply factor to align the projection image to slice image HOT 9
- Out of Memory Error for 4000x4000x2096 VOLUME HOT 23
- Out boundary brightness issue HOT 2
- batch mode in projection and its adjoint HOT 6
- intensity shift of helical fbp HOT 12
- Projection image's intensity slope reverse issue HOT 12
- fail to backpropagate after proj.fbp HOT 9
- Phantom jig calibration supporting HOT 6
- display unblock HOT 2
- MLTR filters: IndexError: list index out of range HOT 3
- Question: cone beam to cone-parallel rebinning HOT 21
- sinogram order base back-projection supporting HOT 2
- tau param issue with convert_modularbeam() function HOT 2
- Force CPU reconstruction HOT 1
- Half-Fan Weighting Artifacts 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 leap.