Comments (8)
Thanks, the error is gone now. :)
from gandlf.
Hey Karol,
I believe this is fixed in the refactor branch. 😄
https://github.com/CBICA/GaNDLF/blob/refactor/GANDLF/data/ImagesFromDataFrame.py#L71
We were using psize
earlier and have since moved to using the more verbose (and in our opinion, clearer) variable name of patch_size
in the refactor branch. Hope this clears up the confusion!
Cheers!
from gandlf.
This is actually the refactor branch^^
https://github.com/CBICA/GaNDLF/blob/a5a7d9c945edb003d02f50dc3a69eb830d564247/GANDLF/preprocessing.py#L179
psize is still in the init() here.
There are about 20 more places in the code where psize is assigned or checked, but I don't know if that is relevant to the problem.
Best
Karol
from gandlf.
Got it. I have made fixes in the training side, while @Geeks-Sid is working on the inference part.
from gandlf.
Awesome! Glad we are able to keep this working with a short turnaround! 😄
from gandlf.
There are actually still some psize errors when I try to run inference. But training is working :)
Traceback (most recent call last):
File "/home/me/Documents/GitKraken/GaNDLF/gandlf_run", line 75, in <module>
main()
File "/home/me/Documents/GitKraken/GaNDLF/gandlf_run", line 72, in main
InferenceManager(dataframe=data_full, headers = headers, outputDir=model_path, parameters=parameters, device=device)
File "/home/me/Documents/GitKraken/GaNDLF/GANDLF/inference_manager.py", line 36, in InferenceManager
inferenceLoopRad(inferenceDataFromPickle=inferenceData_full, headers=headers, outputDir=outputDir,
File "/home/me/Documents/GitKraken/GaNDLF/GANDLF/inference_loop.py", line 41, in inferenceLoopRad
psize = parameters['psize']
KeyError: 'psize'
from gandlf.
Yup, inference is not yet complete (this is on @Geeks-Sid's plate at this moment).
from gandlf.
I believe this should now be fixed. @Karol-G please comment/re-open if you see issues.
from gandlf.
Related Issues (20)
- Add DCGAN architecture
- GAN metrics
- Compute utilities for incorporating generative networks
- Add remaining files and functionalities for GANs
- Add unit testing for GANs
- Update GANDLF functionalities for compatibility with GAN pipelines
- AUROC error while running classification of pathology images HOT 3
- [FEATURE] Set `line-length` for `black` in the `project.toml` file HOT 1
- Config documentation for GANs
- Black configuration in pyproject.toml
- [FEATURE] Add the ability to split CSVs for training/validation/testing as a separate script HOT 1
- [FEATURE] Add the ability to generate training/validation/testing CSV with proportional splits HOT 1
- [FEATURE] Add tensorboard support HOT 2
- [FEATURE] speed up CI tests HOT 3
- [BUG] Moving from version `0.0.XX` to `0.Y.0` creates compatibility issues. HOT 2
- [FEATURE] Add a "migration guide" in documentation
- [BUG] Trying to train a model for classification gives a weird warning
- [FEATURE] Standardize the CLI option for output directory HOT 1
- [BUG] Loss signatures: CE Loss failure because of additional `params` argument HOT 1
- [FEATURE] Upgrade PyTorch to 2.2.1 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 gandlf.