<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic AttributeError: 'CASResults' object has no attribute 'FileInfo' in SAS Viya</title>
    <link>https://communities.sas.com/t5/SAS-Viya/AttributeError-CASResults-object-has-no-attribute-FileInfo/m-p/906930#M2139</link>
    <description>&lt;P&gt;Running Jupyter Notebook and trying to load images and their labels but have come across errors trying to run the code.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/michaelgorkow/SAS_DeepLearning/blob/master/Face_Mask_Detection/face_mask_detection_training.ipynb" target="_blank" rel="noopener"&gt;https://github.com/michaelgorkow/SAS_DeepLearning/blob/master/Face_Mask_Detection/face_mask_detection_training.ipynb&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The link above is the code from Git Hub.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="crack3ncollab_0-1702026217333.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/91014i6B377DB2AEE6B1B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="crack3ncollab_0-1702026217333.png" alt="crack3ncollab_0-1702026217333.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;error message:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;---------------------------------------------------------------------------&lt;/SPAN&gt;
&lt;SPAN class=""&gt;AttributeError&lt;/SPAN&gt;                            Traceback (most recent call last)
&lt;SPAN class=""&gt;/tmp/ipykernel_25351/1026304421.py&lt;/SPAN&gt; in &lt;SPAN class=""&gt;&amp;lt;module&amp;gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;----&amp;gt; 1&lt;/SPAN&gt;&lt;SPAN class=""&gt; object_detection_targets = create_object_detection_table_no_xml(conn=s,&lt;/SPAN&gt;&lt;SPAN class=""&gt;      2&lt;/SPAN&gt;                                                                 data_path&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;'/data/notebook/Face_Mask_Detection/training_images_augmented/'&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;
&lt;SPAN class=""&gt;      3&lt;/SPAN&gt;                                                                 annotation_path&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;'/data/notebook/Face_Mask_Detection/training_images_augmented/'&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;
&lt;SPAN class=""&gt;      4&lt;/SPAN&gt;                                                                 coord_type&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;'yolo'&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;
&lt;SPAN class=""&gt;      5&lt;/SPAN&gt;                                                                 output='detTbl')

&lt;SPAN class=""&gt;/opt/anaconda3/lib/python3.9/site-packages/dlpy/utils.py&lt;/SPAN&gt; in &lt;SPAN class=""&gt;create_object_detection_table_no_xml&lt;/SPAN&gt;&lt;SPAN class=""&gt;(conn, data_path, coord_type, output, annotation_path, image_size)&lt;/SPAN&gt;
&lt;SPAN class=""&gt;   2464&lt;/SPAN&gt;                 label_files &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;[&lt;/SPAN&gt;x &lt;SPAN class=""&gt;for&lt;/SPAN&gt; x &lt;SPAN class=""&gt;in&lt;/SPAN&gt; label_files &lt;SPAN class=""&gt;if&lt;/SPAN&gt; x&lt;SPAN class=""&gt;.&lt;/SPAN&gt;endswith&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;'.txt'&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;]&lt;/SPAN&gt;
&lt;SPAN class=""&gt;   2465&lt;/SPAN&gt;         &lt;SPAN class=""&gt;else&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;
&lt;SPAN class=""&gt;-&amp;gt; 2466&lt;/SPAN&gt;             label_files &lt;SPAN class=""&gt;=&lt;/SPAN&gt; conn&lt;SPAN class=""&gt;.&lt;/SPAN&gt;fileinfo&lt;SPAN class=""&gt;(&lt;/SPAN&gt;caslib&lt;SPAN class=""&gt;=&lt;/SPAN&gt;caslib_annotation&lt;SPAN class=""&gt;,&lt;/SPAN&gt; allfiles&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;True&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;FileInfo&lt;SPAN class=""&gt;[&lt;/SPAN&gt;&lt;SPAN class=""&gt;'Name'&lt;/SPAN&gt;&lt;SPAN class=""&gt;]&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;values
&lt;SPAN class=""&gt;   2467&lt;/SPAN&gt;             label_files &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;[&lt;/SPAN&gt;x &lt;SPAN class=""&gt;for&lt;/SPAN&gt; x &lt;SPAN class=""&gt;in&lt;/SPAN&gt; label_files &lt;SPAN class=""&gt;if&lt;/SPAN&gt; x&lt;SPAN class=""&gt;.&lt;/SPAN&gt;endswith&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;'.txt'&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;]&lt;/SPAN&gt;
&lt;SPAN class=""&gt;   2468&lt;/SPAN&gt; 

&lt;SPAN class=""&gt;/opt/anaconda3/lib/python3.9/site-packages/swat/cas/results.py&lt;/SPAN&gt; in &lt;SPAN class=""&gt;__getattr__&lt;/SPAN&gt;&lt;SPAN class=""&gt;(self, name)&lt;/SPAN&gt;
&lt;SPAN class=""&gt;    361&lt;/SPAN&gt;         &lt;SPAN class=""&gt;if&lt;/SPAN&gt; name &lt;SPAN class=""&gt;in&lt;/SPAN&gt; self&lt;SPAN class=""&gt;:&lt;/SPAN&gt;
&lt;SPAN class=""&gt;    362&lt;/SPAN&gt;             &lt;SPAN class=""&gt;return&lt;/SPAN&gt; self&lt;SPAN class=""&gt;[&lt;/SPAN&gt;name&lt;SPAN class=""&gt;]&lt;/SPAN&gt;
&lt;SPAN class=""&gt;--&amp;gt; 363&lt;/SPAN&gt;         &lt;SPAN class=""&gt;return&lt;/SPAN&gt; super&lt;SPAN class=""&gt;(&lt;/SPAN&gt;CASResults&lt;SPAN class=""&gt;,&lt;/SPAN&gt; self&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;__getattribute__&lt;SPAN class=""&gt;(&lt;/SPAN&gt;name&lt;SPAN class=""&gt;)&lt;/SPAN&gt;
&lt;SPAN class=""&gt;    364&lt;/SPAN&gt; 
&lt;SPAN class=""&gt;    365&lt;/SPAN&gt;     &lt;SPAN class=""&gt;def&lt;/SPAN&gt; get_set&lt;SPAN class=""&gt;(&lt;/SPAN&gt;self&lt;SPAN class=""&gt;,&lt;/SPAN&gt; num&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;

&lt;SPAN class=""&gt;AttributeError&lt;/SPAN&gt;: 'CASResults' object has no attribute 'FileInfo'&lt;/PRE&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Dec 2023 09:03:47 GMT</pubDate>
    <dc:creator>crack3n-collab</dc:creator>
    <dc:date>2023-12-08T09:03:47Z</dc:date>
    <item>
      <title>AttributeError: 'CASResults' object has no attribute 'FileInfo'</title>
      <link>https://communities.sas.com/t5/SAS-Viya/AttributeError-CASResults-object-has-no-attribute-FileInfo/m-p/906930#M2139</link>
      <description>&lt;P&gt;Running Jupyter Notebook and trying to load images and their labels but have come across errors trying to run the code.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/michaelgorkow/SAS_DeepLearning/blob/master/Face_Mask_Detection/face_mask_detection_training.ipynb" target="_blank" rel="noopener"&gt;https://github.com/michaelgorkow/SAS_DeepLearning/blob/master/Face_Mask_Detection/face_mask_detection_training.ipynb&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The link above is the code from Git Hub.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="crack3ncollab_0-1702026217333.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/91014i6B377DB2AEE6B1B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="crack3ncollab_0-1702026217333.png" alt="crack3ncollab_0-1702026217333.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;error message:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;---------------------------------------------------------------------------&lt;/SPAN&gt;
&lt;SPAN class=""&gt;AttributeError&lt;/SPAN&gt;                            Traceback (most recent call last)
&lt;SPAN class=""&gt;/tmp/ipykernel_25351/1026304421.py&lt;/SPAN&gt; in &lt;SPAN class=""&gt;&amp;lt;module&amp;gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;----&amp;gt; 1&lt;/SPAN&gt;&lt;SPAN class=""&gt; object_detection_targets = create_object_detection_table_no_xml(conn=s,&lt;/SPAN&gt;&lt;SPAN class=""&gt;      2&lt;/SPAN&gt;                                                                 data_path&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;'/data/notebook/Face_Mask_Detection/training_images_augmented/'&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;
&lt;SPAN class=""&gt;      3&lt;/SPAN&gt;                                                                 annotation_path&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;'/data/notebook/Face_Mask_Detection/training_images_augmented/'&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;
&lt;SPAN class=""&gt;      4&lt;/SPAN&gt;                                                                 coord_type&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;'yolo'&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;
&lt;SPAN class=""&gt;      5&lt;/SPAN&gt;                                                                 output='detTbl')

&lt;SPAN class=""&gt;/opt/anaconda3/lib/python3.9/site-packages/dlpy/utils.py&lt;/SPAN&gt; in &lt;SPAN class=""&gt;create_object_detection_table_no_xml&lt;/SPAN&gt;&lt;SPAN class=""&gt;(conn, data_path, coord_type, output, annotation_path, image_size)&lt;/SPAN&gt;
&lt;SPAN class=""&gt;   2464&lt;/SPAN&gt;                 label_files &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;[&lt;/SPAN&gt;x &lt;SPAN class=""&gt;for&lt;/SPAN&gt; x &lt;SPAN class=""&gt;in&lt;/SPAN&gt; label_files &lt;SPAN class=""&gt;if&lt;/SPAN&gt; x&lt;SPAN class=""&gt;.&lt;/SPAN&gt;endswith&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;'.txt'&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;]&lt;/SPAN&gt;
&lt;SPAN class=""&gt;   2465&lt;/SPAN&gt;         &lt;SPAN class=""&gt;else&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;
&lt;SPAN class=""&gt;-&amp;gt; 2466&lt;/SPAN&gt;             label_files &lt;SPAN class=""&gt;=&lt;/SPAN&gt; conn&lt;SPAN class=""&gt;.&lt;/SPAN&gt;fileinfo&lt;SPAN class=""&gt;(&lt;/SPAN&gt;caslib&lt;SPAN class=""&gt;=&lt;/SPAN&gt;caslib_annotation&lt;SPAN class=""&gt;,&lt;/SPAN&gt; allfiles&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;True&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;FileInfo&lt;SPAN class=""&gt;[&lt;/SPAN&gt;&lt;SPAN class=""&gt;'Name'&lt;/SPAN&gt;&lt;SPAN class=""&gt;]&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;values
&lt;SPAN class=""&gt;   2467&lt;/SPAN&gt;             label_files &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;[&lt;/SPAN&gt;x &lt;SPAN class=""&gt;for&lt;/SPAN&gt; x &lt;SPAN class=""&gt;in&lt;/SPAN&gt; label_files &lt;SPAN class=""&gt;if&lt;/SPAN&gt; x&lt;SPAN class=""&gt;.&lt;/SPAN&gt;endswith&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;'.txt'&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;]&lt;/SPAN&gt;
&lt;SPAN class=""&gt;   2468&lt;/SPAN&gt; 

&lt;SPAN class=""&gt;/opt/anaconda3/lib/python3.9/site-packages/swat/cas/results.py&lt;/SPAN&gt; in &lt;SPAN class=""&gt;__getattr__&lt;/SPAN&gt;&lt;SPAN class=""&gt;(self, name)&lt;/SPAN&gt;
&lt;SPAN class=""&gt;    361&lt;/SPAN&gt;         &lt;SPAN class=""&gt;if&lt;/SPAN&gt; name &lt;SPAN class=""&gt;in&lt;/SPAN&gt; self&lt;SPAN class=""&gt;:&lt;/SPAN&gt;
&lt;SPAN class=""&gt;    362&lt;/SPAN&gt;             &lt;SPAN class=""&gt;return&lt;/SPAN&gt; self&lt;SPAN class=""&gt;[&lt;/SPAN&gt;name&lt;SPAN class=""&gt;]&lt;/SPAN&gt;
&lt;SPAN class=""&gt;--&amp;gt; 363&lt;/SPAN&gt;         &lt;SPAN class=""&gt;return&lt;/SPAN&gt; super&lt;SPAN class=""&gt;(&lt;/SPAN&gt;CASResults&lt;SPAN class=""&gt;,&lt;/SPAN&gt; self&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;__getattribute__&lt;SPAN class=""&gt;(&lt;/SPAN&gt;name&lt;SPAN class=""&gt;)&lt;/SPAN&gt;
&lt;SPAN class=""&gt;    364&lt;/SPAN&gt; 
&lt;SPAN class=""&gt;    365&lt;/SPAN&gt;     &lt;SPAN class=""&gt;def&lt;/SPAN&gt; get_set&lt;SPAN class=""&gt;(&lt;/SPAN&gt;self&lt;SPAN class=""&gt;,&lt;/SPAN&gt; num&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;

&lt;SPAN class=""&gt;AttributeError&lt;/SPAN&gt;: 'CASResults' object has no attribute 'FileInfo'&lt;/PRE&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 09:03:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/AttributeError-CASResults-object-has-no-attribute-FileInfo/m-p/906930#M2139</guid>
      <dc:creator>crack3n-collab</dc:creator>
      <dc:date>2023-12-08T09:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeError: 'CASResults' object has no attribute 'FileInfo'</title>
      <link>https://communities.sas.com/t5/SAS-Viya/AttributeError-CASResults-object-has-no-attribute-FileInfo/m-p/907359#M2142</link>
      <description>It looks like this code expects the .jpg and .txt files to be in that referenced path accessible to python, so if they aren't there I would not expect the code to work.</description>
      <pubDate>Mon, 11 Dec 2023 17:04:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/AttributeError-CASResults-object-has-no-attribute-FileInfo/m-p/907359#M2142</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2023-12-11T17:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeError: 'CASResults' object has no attribute 'FileInfo'</title>
      <link>https://communities.sas.com/t5/SAS-Viya/AttributeError-CASResults-object-has-no-attribute-FileInfo/m-p/910000#M2174</link>
      <description>&lt;P&gt;Hi I am running another part of the code the image augmentation part but I have come across the exact same error. The same error pops up but I have checked the file path and the images all have the .jpg and .txt extensions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/michaelgorkow/SAS_DeepLearning/blob/master/Face_Mask_Detection/image_augmentation_object_detection.ipynb" target="_blank"&gt;https://github.com/michaelgorkow/SAS_DeepLearning/blob/master/Face_Mask_Detection/image_augmentation_object_detection.ipynb&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't understand the error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="crack3ncollab_0-1704117081024.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/92142i44E111FCFE5D2F62/image-size/medium?v=v2&amp;amp;px=400" role="button" title="crack3ncollab_0-1704117081024.png" alt="crack3ncollab_0-1704117081024.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jan 2024 13:51:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/AttributeError-CASResults-object-has-no-attribute-FileInfo/m-p/910000#M2174</guid>
      <dc:creator>crack3n-collab</dc:creator>
      <dc:date>2024-01-01T13:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeError: 'CASResults' object has no attribute 'FileInfo'</title>
      <link>https://communities.sas.com/t5/SAS-Viya/AttributeError-CASResults-object-has-no-attribute-FileInfo/m-p/910092#M2177</link>
      <description>Did the previous steps execute successfully? Is the path defined in "path" accessible to python?</description>
      <pubDate>Tue, 02 Jan 2024 15:53:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/AttributeError-CASResults-object-has-no-attribute-FileInfo/m-p/910092#M2177</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2024-01-02T15:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: AttributeError: 'CASResults' object has no attribute 'FileInfo'</title>
      <link>https://communities.sas.com/t5/SAS-Viya/AttributeError-CASResults-object-has-no-attribute-FileInfo/m-p/910759#M2200</link>
      <description>&lt;P&gt;Did a little debugging and turns out the data format was wrong. The path was correct.&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jan 2024 12:50:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/AttributeError-CASResults-object-has-no-attribute-FileInfo/m-p/910759#M2200</guid>
      <dc:creator>crack3n-collab</dc:creator>
      <dc:date>2024-01-07T12:50:02Z</dc:date>
    </item>
  </channel>
</rss>

