google-research / scenic

Scenic: A Jax Library for Computer Vision Research and Beyond
Apache License 2.0
3.3k stars 431 forks source link

tf-models-official import in video_ops #544

Closed mmaz closed 1 year ago

mmaz commented 2 years ago

Hi, I'm exploring the MBT project and wasn't sure which package resolves the following import in scenic/dataset_lib/video_ops.py

from official.vision.image_classification import augment

Is this available in another package besides tf-models-official now? I saw that commit 82b8cfed removes tf-models-official (is the intent for projects to pin to a specific version, e.g., in requirements.txt?)

Thanks!

anjugopinath commented 1 year ago

I am getting the same error. What is the fix?

Mohamedellebody commented 1 year ago

replace official.vision.image_classification by official.legacy.image_classification