Giter Site home page Giter Site logo

Comments (5)

zaccharieramzi avatar zaccharieramzi commented on September 26, 2024

Hi @fharman ,

Can you show me the code that you used to generate these outputs?

Mainly, are you using only one contrast?

from fastmri-reproducible-benchmark.

fharman avatar fharman commented on September 26, 2024

Hi Zaccharie,

test_path = '/content/drive/My Drive/UNET_Colab/knee_singlecoil_test_v2/singlecoil_test_v2/'
test_gen_zero = ZeroFilled2DSequence(test_path, af=AF, norm=True, mode='testing', mask_seed=0)
test_gen_scaled = Masked2DSequence(test_path, mode='testing', af=AF, scale_factor=1e6, mask_seed=0)

len(test_gen_scaled)
50

import os
path, dirs, files = next(os.walk("/content/drive/My Drive/UNET_Colab/knee_singlecoil_test_v2/singlecoil_test_v2/"))
file_count = len(files)
print(file_count)
108

I don't overcome this problem. Yes, i just only used Fastmri Single Coil Knee Dataset. (PDFS)

Best regards,

from fastmri-reproducible-benchmark.

zaccharieramzi avatar zaccharieramzi commented on September 26, 2024

With this setting, you are actually considering all contrasts.
However, you are only considering the acceleration factor AF (I don't to what it is set).
So you are only getting the test files that have been retrospectively under-sampled with and acceleration factor of AF, which is roughly half of them.

from fastmri-reproducible-benchmark.

fharman avatar fharman commented on September 26, 2024

AF=4,
What is your recommendation for full set path? Because with these commands, path files are skipped by 2 files. Consequently, path file numbers are decreasing the half.

Thank you for your return,

Best regards,

from fastmri-reproducible-benchmark.

zaccharieramzi avatar zaccharieramzi commented on September 26, 2024

I recommend treating both acceleration factors separately.
You would do the same thing just with AF=4 and AF=8.

With the current implementation it's not possible to have a a generator for both acceleration factors but I intend to keep it that way since I think it's important to separate both. You can still have a model that reconstructs agnostically the 2 acceleration factors, you would just need to run it twice.

from fastmri-reproducible-benchmark.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.