Traceback (most recent call last):


 "/home/amnesia/Persistent/securedrop/admin/.venv3/lib/python3.5/weakref.py", line 117, in remove
TypeError: 'NoneType' object is not callable

Traceback (most recent call last):


 "/Users/name/install/nmt-keras/datasetspaneng.py", line 81, in <module>

keep_n_captions(ds, repeat=1, n=1, set_names=['val'])


 "/Users/name/install/nmt-keras/data_engine/prepare_data.py", line 272, in keep_n_captions

for i in range(0, n_samples, repeat):
TypeError: 'NoneType' object cannot be interpreted as an integer