Running Jupyter Notebook and trying to load images and their labels but have come across errors trying to run the code. https://github.com/michaelgorkow/SAS_DeepLearning/blob/master/Face_Mask_Detection/face_mask_detection_training.ipynb The link above is the code from Git Hub. Code: error message: ---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
/tmp/ipykernel_25351/1026304421.py in <module>
----> 1 object_detection_targets = create_object_detection_table_no_xml(conn=s, 2 data_path='/data/notebook/Face_Mask_Detection/training_images_augmented/',
3 annotation_path='/data/notebook/Face_Mask_Detection/training_images_augmented/',
4 coord_type='yolo',
5 output='detTbl')
/opt/anaconda3/lib/python3.9/site-packages/dlpy/utils.py in create_object_detection_table_no_xml(conn, data_path, coord_type, output, annotation_path, image_size)
2464 label_files = [x for x in label_files if x.endswith('.txt')]
2465 else:
-> 2466 label_files = conn.fileinfo(caslib=caslib_annotation, allfiles=True).FileInfo['Name'].values
2467 label_files = [x for x in label_files if x.endswith('.txt')]
2468
/opt/anaconda3/lib/python3.9/site-packages/swat/cas/results.py in __getattr__(self, name)
361 if name in self:
362 return self[name]
--> 363 return super(CASResults, self).__getattribute__(name)
364
365 def get_set(self, num):
AttributeError: 'CASResults' object has no attribute 'FileInfo' I also don't understand how the images are accessed from jupyter notebook since the path of the image appears to have the images be uploaded to jupyter notebook then it can be accessed.
... View more