Open
Description
When fine-tuning a model with Tensorflow at the Fine-tuning a model with Keras
page, at these steps:
We will get this error:
The solution is to set the TF_USE_LEGACY_KERAS
environment variable to 1:
import os
os.environ['TF_USE_LEGACY_KERAS'] = '1'
We should inform this situation at every Tensorflow tutorial in the Hugging Face course.
Metadata
Metadata
Assignees
Labels
No labels