Closed pjsjongsung closed 7 months ago
Hi, I agree that changing the model shouldn't affect the brainGenerator class. For output_shape, did you only change the value in the training script ? If yes, that shouldn't be a problem either. I recently received some issues concerning new updates of tensorflow, maybe that's the problem ? Can you have a look at this issue and let me know if this is pertinent to you ? #81
The system is linux so I do not think the would be it would be related to any MAC and its tensorflow issue (which I know is a pain). I do not have full control over our system, but it seems the lowest version of tensorflow we can have is 2.8.0. I'll try this out and get back to you.
Otherwise you can try the installation command I gave in the readme. Let me know how it goes :)
We cannot manually install a package that requires GPU usage on our system, so we cannot revert to python 3.6 or 3.8 as suggested in the readme and install a new tensorflow. However, I can confirm that with tensorflow 2.8.0 and python 3.10, I got the same error as above.
Ok so I was able to replicate this error and fix it with tf 2.12. Unfortunately, switching to tf 2.12 brought more errors, and this time there are indeed due to library compatibility, and I have no solution for this right now, except switching back to python 3.8 and tf 2.2. You can do this by installing miniconda, and using the provided commands in the readme. I understand that it might be difficult in your particular case, but just saying it in case other people are reading this. Sorry Benjamin
Thank you for checking this issue! Yes, unfortunately I cannot make it work at the moment, but good to know where the error is coming from.
First of all, thank you for the great work!
I am trying out the training tutorial with the provided labels in this repo, but it is throwing an error below
I did change the model from unet to something else, but the BrainGenerator class is called before declaration of the model, so I do not think that is the problem.
I also changed the output_shape to 128, so could this be the problem?
I am using python 3.10 with tensorflow 2.12.0 in case this is a version issue.