Comments (2)
Hello and thank you for the question, sorry for the late reply.
First, when you say it can sample knees data
, please note that this refers to conditional sampling given k-space measurements, not pure unconditional sampling. One can think of the k-space measurements as "guiding" the sampling process for a simplification.
Second, regarding the sizes you mentioned, the network architecture we used only contains convolutional and self-attention blocks and can thus perform forward passes on any height and width shapes (up to some limitations, such as sizes being divisible by 16). What is not invariant is the number of input/output channels, which is 2 in our case.
The exact model is here: https://github.com/ajiljalal/ncsnv2/blob/ef1eae385fd2b4ec9d31f13be3640b91bc621d26/models/ncsnv2.py#L198
To change the spatial dimensions you would need to change the last two shapes of the initial samples as shown below. I'd recommend keeping them a multiple of 16 to avoid other errors:
Lines 114 to 116 in 91e0a5a
Or directly via the config file, e.g., like here for the knees experiment:
csgm-mri-langevin/configs/file/knees.yaml
Lines 18 to 20 in 91e0a5a
from csgm-mri-langevin.
Closing due to inactivity, please feel free to reopen if there are further questions.
from csgm-mri-langevin.
Related Issues (6)
- Training the score network HOT 2
- Compute FID HOT 2
- On calculation of the score for the Gaussian likelihood HOT 2
- checkpoint_100000.pth HOT 2
- Metrics script HOT 2
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 csgm-mri-langevin.