Skip to content

Transformers can't detect tensorflow installed in some different path of the environment, even though the path is added to PYTHONPATH #24225

@RickSanchezStoic

Description

@RickSanchezStoic

Transformers is not able to detect tensorflow installed in different directory.

Steps to reproduce, execute the commands in order:

docker pull unifyai/ivy:latest
docker run --rm -it unifyai/ivy:latest
pip install transformers
python
from transformers import TFDeiTModel
model = TFDeiTModel.from_pretrained("facebook/deit-base-distilled-patch16-224")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions