Open chunyeow opened 4 years ago
Hello, first I upgraded tensorflow and then replaced the code as showed below:
`# To determine which version you're using: !pip show tensorflow
!pip install --upgrade tensorflow
!pip install tf-nightly`
deleting code:
new code: `(train_examples, validation_examples, test_examples), info = tfds.load('horses_or_humans',split=['train[80%:]', 'train[80%:90%]', 'train[90%:]'],with_info=True,as_supervised=True)
num_examples = info.splits['train'].num_examples num_classes = info.features['label'].num_classes`
I am facing the following issue whenever running the exercise on Tensorflow deployment:
AssertionError: Unrecognized instruction format: NamedSplitAll()(tfds.percent[0:80])
Anyone know what's the problem?