covid19.MIScnn
covid19.MIScnn copied to clipboard
Incompatible numpy & tensorflow & miscnn
The contradictory required version of numpy & miscnn, numpy & tensorflow made it impossible to run the code. Furthermore, NIFTI_interface is not defined. I managed to get into the source code but can't debug it due to lack of software coding knowledge.
Hey @sensiang705,
could you elaborate a little bit what exactly is not working.
The current version of this repository should be fully reproducible with the provided MIScnn & Tensorflow version defined in requirements.txt as well as the training/inference with any newer version of MIScnn & Tensorflow. MIScnn or Tensorflow should also be able to run with any newer NumPy version.
The NIfTI Interface is provided in the MIScnn package.
I highly suspect that your installation process of MIScnn, Tensorflow or NumPy was not correctly performed.
Please validate your installation and elaborate a bit more on the issues on your side for more efficient support.
Cheers, Dominik
Hey there, I am facing the same problem, the requirements.txt file is not running the way it supposed to.
ERROR: Cannot install -r requirements.txt (line 4) and tensorflow==2.3.0 because these package versions have conflicting dependencies.
The conflict is caused by: The user requested tensorflow==2.3.0 miscnn 1.1.9 depends on tensorflow==2.4.0
How to resolve this?
Hey @Saqueeb,
thanks for pointing this out. I incremented the Tensorflow version to avoid dependency conflicts. But you should be able to use any tensorflow version over 2.1 to get it running.
Fix: 8a7c9d6c715a21508b28602d9befff943a9c3cd0
Cheers, Dominik