Nothing Special   »   [go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible numpy & tensorflow & miscnn #26

Open
sensiang705 opened this issue Jun 23, 2021 · 3 comments
Open

Incompatible numpy & tensorflow & miscnn #26

sensiang705 opened this issue Jun 23, 2021 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@sensiang705
Copy link

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.

@muellerdo
Copy link
Member
muellerdo commented Jun 23, 2021

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

@muellerdo muellerdo self-assigned this Jun 23, 2021
@muellerdo muellerdo added the bug Something isn't working label Jun 23, 2021
@Saqueeb
Copy link
Saqueeb commented Jul 13, 2021

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?

@muellerdo
Copy link
Member

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: 8a7c9d6

Cheers,
Dominik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants