Closed pdubz-sudo closed 3 years ago
Please try comment out the 2 lines of code below, and replace with the 3rd line. The original "tfds.Split.ALL.subsplit" does not work well with the current version of tfds.
# splits = tfds.Split.ALL.subsplit(weighted=(80, 10, 10))
# splits, info = tfds.load('cats_vs_dogs', with_info=True, as_supervised=True, split = splits)
splits, info = tfds.load('cats_vs_dogs', with_info=True, as_supervised=True, split=['train[:80%]', 'train[80%:90%]', 'train[90%:100%]'])
Thanks for the fix and making the PR's so all the students coming in from the coursera course can easily focus on the exercise.
Thanks for the notebook.
I'm not sure if something has updated and making the notebook not work in colab but when I try to load the dataset it will not load and throws this error.