'See the directory example_custom_dataset for an example')
File "C:\Users\Soumya Suvra Ghosal\AppData\Local\Programs\Python\Python36\lib\site-packages\absl\app.py", line 299, in run
_run_main(main, args)
File "C:\Users\Soumya Suvra Ghosal\AppData\Local\Programs\Python\Python36\lib\site-packages\absl\app.py", line 250, in _run_main
sys.exit(main(argv))
File "convert_data.py", line 263, in main
raise Exception('Must specify which dataset to convert.')
File "convert_data.py", line 96, in process_dataset
with open(os.path.join(outdir, 'test{:03d}.bin'.format(out_idx)), 'wb') as writer:
File "convert_data.py", line 230, in write_example
if doc_indices is not None:
TypeError: '0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 has type str, but expected one of: bytes
Running the following code :
python convert_data.py --dataset_name=example_custom_dataset --custom_dataset_path=./example_custom_dataset/
gives the following errors:
File "convert_data.py", line 278, in
Can you please help in resolving this issue.