Traceback (most recent call last):


 "F:/ML/Deep Learning/NLP/Paper/07-Transformer/NMT-Transformer/Data_process/01.py", line 17, in <module>

train_half_1, train_half_2 = tfds.Split.TRAIN.subsplit(2)
AttributeError: 'Split' object has no attribute 'subsplit'

Traceback (most recent call last):


 "solve.py", line 90, in <module>

main()


 "solve.py", line 87, in main

solve(sf, args.method, args.input_file, args.output_file)


 "solve.py", line 19, in solve

maze = Maze(im)


 "D:\projects\mazesolving\mazes2.py", line 15, in __init__

width = im.width


 "C:\Python27\Lib\site-packages\PIL\Image.py", line 512, in __getattr__

raise AttributeError(name)
AttributeError: width
