Comments (5)
@hvgazula It would be awesome if you share your requirements_python311.txt. Good luck with training!
Here they are:
ss_reks_centos.txt
ss_reks_osx.txt
from synthseg.
Hi, @jennykim1016 I noticed this issue while working on my own. While I haven't tested the full range of synthseg's functionality, my preliminary work suggests you should be able to use this code (barring a minor infraction here and there) with a newer version of TF/Keras and Python. The farthest I could go was TF=2.15 and Python=3.11 with generation (at least). I am currently looking into prediction and will look into training very soon. If my tests turn out well on these three aspects (generation, training, and prediction), it will suffice to say SynthSeg can run on newer versions seamlessly.
from synthseg.
@hvgazula It would be awesome if you share your requirements_python311.txt. Good luck with training!
from synthseg.
Hi,
thanks all for the questions and answers!
I think I started looking into this a while ago and I was able to find a stable list of requirements for python 3.x (x>10), but I dropped it because I didn't like the new way of debugging keras models (it didn't allow anymore to access the values inside the call methods of custom keras layers).
I seem to remember that using this new list of requirements only needed minor changes in the code to make it run for training/testing. Unfortunately I don't think I saved this list of requirements... But using conda, it should be kind of straightforward to establish for any newer Python version.
Let me know if @hvgazula's list of requirements works, and then I can add it to the installation instructions :)
Thanks all!
Benjamin
from synthseg.
Thank you so much everyone for these helpful discussions! We have actually decided to move forward with Windows + appropriate versions for now, but if we do decide to test with a new Python version, I will make sure to test it and update the thread. Thanks!
from synthseg.
Related Issues (20)
- CSF label left out of "labels table.txt" HOT 1
- Synthesize image for different anantomical templates HOT 2
- Resampled image is not saved HOT 2
- random segmentation failures HOT 3
- Segmentation Discrepancies Analysis HOT 3
- Clarification on Fine-Tuning with real images HOT 4
- \
- ValueError: Error when checking input: expected labels_input to have 4 dimensions, but got array with shape (1, 216, 256, 8, 1) HOT 1
- Clarification on GMM sampling HOT 1
- InvalidArgumentError: 4D Input Expected with SynthSeg_predict.py on MacOS M2 HOT 7
- insula subsegmentation HOT 2
- Error while following the training example HOT 6
- synthseg-robust 2.0 HOT 1
- lab2im version errors HOT 2
- Force resampling HOT 1
- Tutorial for re-training SynthSeg on non-brain datasets HOT 1
- failed to predict on CPU HOT 2
- Error running tutorial script (1-generation_visualisation.py) in newer versions of tensorflow HOT 2
- 2.0 models missing from models directory 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 synthseg.