Skip to content
New issue

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

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

Already on GitHub? # to your account

Tensorflow 2.13.1 Version Issue with Python 3.8 #617

Open
Faizack opened this issue May 31, 2024 · 1 comment
Open

Tensorflow 2.13.1 Version Issue with Python 3.8 #617

Faizack opened this issue May 31, 2024 · 1 comment

Comments

@Faizack
Copy link

Faizack commented May 31, 2024

Bug Report

Describe the bug
I was running the example MNIST TensorFlow and encountered an issue. In Python 3.8, TensorFlow version 2.13.1 is not available.

To Reproduce
Steps to reproduce the behavior:

  1. Change TensorFlow version to 2.13.0 manually.

  2. fedn package create --path client

  3. Upload package.tgz in fedn.scaleoutsystems in Compute Package

  4. fedn run build --path client and upload seed model in fed

  5. Run fedn client start -in client.yaml --secure=True --force-ssl.

  6. Observe that python_env.yaml is generated with tensorflow==2.13.1 dependencies.

Expected behavior
The script should recognize the available TensorFlow version (2.13.0) and not generate a python_env.yaml file with tensorflow==2.13.1.

issue_2
tensorflow-version issue in 3 8

Environment (please complete the following information):

  • Python version: 3.8
  • TensorFlow version: 2.13.0
@Faizack Faizack changed the title Tensorflow Version Issue with Python 3.8 Tensorflow 2.13.1 Version Issue with Python 3.8 May 31, 2024
@sgronlund
Copy link

sgronlund commented Jun 8, 2024

The requirement file in the example directory states that you need to use tensorflow>=2.13.1. Thus, I wouldn't consider this a bug, but a maintainer could argue otherwise as they know more :)

I'd suggest creating a new (and empty) virtual environment and then installing fedn, and finally running pip install -r requirements.txt within the example directory.

tensorflow>=2.13.1
fire==0.3.1
docker==6.1.1

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants