Skip to content

Dockerfile pip requirements.txt is giving error: No matching distribution found for tensorflow==2.0.0-beta1 #7

@Humphreybas

Description

@Humphreybas

When building my own docker image from the dockerfile I get this error:

ERROR: Could not find a version that satisfies the requirement tensorflow==2.0.0-beta1
ERROR: No matching distribution found for tensorflow==2.0.0-beta1

I tried removing the version (just putting 'tensorflow' in the requirements.txt) and that enabled me to succesfully built the image. But there are still some things going wrong.

To test this more easily I removed the entrypoint from the dockerfile (I didn't need the webserver anyway, just wanted an easy way to install) and then ran the image with:

sudo docker run --rm segmentallocal bash -c 'python /app/segmental_cli.py /app/test/test_images/cat.jpg'

That gives me the following error:

TypeError: Could not build a TypeSpec for <KerasTensor: shape=(None, 64, 64, 256) dtype=float32 (created by layer 'tf.compat.v1.image.resize_images')> with type KerasTensor

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions