Advertisement
GrigoriiTarasov

fiftyone_import_CVAT_error

Jul 6th, 2022
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.03 KB | None | 0 0
  1. fouc.import_annotations(
  2.     dataset,
  3.     project_name=project_name,
  4.     data_path="/home/arm16/1_data/kidney_prelabel",
  5.     download_media=True
  6. )
  7.  
  8. ---------------------------------------------------------------------------
  9. TypeError                                 Traceback (most recent call last)
  10. Input In [10], in <cell line: 1>()
  11. ----> 1 fouc.import_annotations(
  12.       2     dataset,
  13.       3     project_name=project_name,
  14.       4     data_path="/home/arm16/1_data/kidney_prelabel",
  15.       5     download_media=True
  16.       6 )
  17.  
  18. File ~/anaconda3/envs/etl_kidney/lib/python3.10/site-packages/fiftyone/utils/cvat.py:152, in import_annotations(sample_collection, project_name, project_id, task_ids, data_path, label_types, insert_new, download_media, num_workers, occluded_attr, group_id_attr, backend, **kwargs)
  19.     150     task_ids = [task_ids]
  20.     151 else:
  21. --> 152     task_ids = list(task_ids)
  22.     154 # Build mapping from CVAT filenames to local filepaths
  23.     155 data_dir = None
  24.  
  25. TypeError: 'NoneType' object is not iterable
  26.  
  27.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement