Skip to content

Conversation

@kyurimki
Copy link

@kyurimki kyurimki commented Jun 1, 2021

An error occurred while running the code Chapter 5/horse_and_humans_transfer_learning.ipynb.
AttributeError: 'Split' object has no attribute 'subsplit'

Since subsplit() is deprecated and to avoid a conflict afterwards, the variable splits is considered to be replaced to ('train[80%:]', 'train[80%:90%]', 'train[90%:]') instead of tfds.Split.TRAIN.subsplit(weighted=SPLIT_WEIGHTS).

AttributeError: 'Split' object has no attribute 'subsplit'

Since subsplit() is deprecated, the variable splits should be replaced to ('train[80%:]', 'train[80%:90%]', 'train[90%:]').
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant