Comments (8)
Can you please tell what is the exact reproducible code you ran?
Also, please let us know the exact environment you used (tensorflow version etc).
from fastmri-reproducible-benchmark.
To me, on seeing your output, it is quite bizarre to have that high loss initially... Are you using density compensation?
How did you set up the data?
From what I remember you need to convert the fastmri dataset into tfrecords to have preprocessed data (kspace data, smaps, density compensation, etc).
from fastmri-reproducible-benchmark.
I ran the nc_train.py from the training_scripts folder keeping all the parameters as it is. I used python -m nc_train command to run the file. I am not using density compensation.
The dataset I used for train set are the .h5 files.
Here are some of the module versions I used in the environment.
tfkbnufft - 0.2.4
tensorflow -2.8.0
tensorflow-gpu - 2.4.1
tensorflow-nufft - 0.7.3
scikit-image - 0.19.3
keras - 2.8.0
keras-preprocessing - 1.1.2
from fastmri-reproducible-benchmark.
Thank you for the info:
The dataset I used for train set are the .h5 files.
Do you mean from fastMRI dataset? I am afraid that is not right. See here how the dataset needs to be organized:
fastmri-reproducible-benchmark/fastmri_recon/models/utils/fourier.py
Lines 280 to 289 in 4a4ec09
Ideally you will need to generate the tfrecords dataset using: https://github.com/zaccharieramzi/fastmri-reproducible-benchmark/blob/master/fastmri_recon/data/scripts/multicoil_nc_tf_records_generation.py
(Assuming you want to run multicoil in 2D)
I am not using density compensation.
I Highly recommend you use density compensation. You can have scaling issues otherwise which can affect the convergence. See the paper Sec III D where the importance of it, particularly for non-Cartesian MRI is discussed.
By default we do use density compensation.
from fastmri-reproducible-benchmark.
Hey, thank you so much chaithya! It's working now. I was trying out the single coil only.
from fastmri-reproducible-benchmark.
I was wondering about adding k-space network (dual layers) to the NCPDNet (similar to how it is in the PDNet). Can you please suggest me on what to do? Also, is there any reason why you didn’t implement dual layers in NCPDNet.
from fastmri-reproducible-benchmark.
Usually k-space doesnt exactly satisfy the same properties of equivariance in image domain and hence such a direct network would not exactly help the cause in my opinion. However, if u still want to do the same, see that NCPDNet is derived from CrossDomainNet
, which is exactly network in k-space then in image space.
What you would need to do is to modify here:
Note that currently we only have data consistency here. I would recommend you to have this, and in addition add your k-space network.
Do let us know if you see any improvements over the baseline, and after benchmarking, we would not mind adding it as a feature.
from fastmri-reproducible-benchmark.
I am going to close this issue since it seems resolved for now (at least the original nan problem).
Thanks @chaithyagr for handling it.
from fastmri-reproducible-benchmark.
Related Issues (20)
- maybe remove or update np_metrics HOT 4
- need to specify the scikit-image version in the requirements.txt HOT 2
- Update the introduction notebook
- Add HuggingFace Hub integration to store the models HOT 1
- Regarding sessions of OASIS3 dataset to be downloaded HOT 5
- Error in training PD-net for OASIS3 dataset HOT 14
- Unpin TF version number
- Correct bias setting in MWCNN
- PSNR and SSIM metrics from skimage HOT 1
- Nufft and its adj operator with cropped 320x320 image HOT 8
- Error in training XPDNet HOT 3
- GPU->CPU Memcpy failed HOT 3
- Move to using tensorflow-nufft HOT 3
- Difficulty in running inference for NCPDNet HOT 2
- question about mask HOT 1
- Time per epoch increasing HOT 1
- Getting error when I run postBuild HOT 1
- How to predict using the XPDNet-brain-af4 model HOT 2
- error
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 fastmri-reproducible-benchmark.