Commit 10816f4f authored by Anna Fomina's avatar Anna Fomina
Browse files

Data observation

parent 36fcebb4
......@@ -275,12 +275,16 @@
for i in os.walk('burnasyan_Br'):
folder.append(i)
for address, dirs, files in folder:
for file in files:
if mimetypes.guess_type(file)[0] == 'image/jpeg':
f.write(os.path.join(address, file) + '\n')
f.write(os.path.join(address, file) + '\n')
f.close()
with open('paths.txt', 'rb+') as filehandle:
filehandle.seek(-1, os.SEEK_END)
filehandle.truncate()
```
 
%% Cell type:markdown id:64484e47 tags:
 
### Checking the amount of images
......@@ -416,10 +420,16 @@
 
%%%% Output: display_data
 
![](data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAuAAAAD4CAYAAACtxFPWAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/MnkTPAAAACXBIWXMAAAsTAAALEwEAmpwYAAAVu0lEQVR4nO3df9Bc1X3f8ffHCGImGCOMQjGiFU40IcKxZaMCDp2G2h0QtImwQykkNsIhljuGNm5DGuL+AIOZOJPYbnEJNa4VIOMY8K9CE8VYYWxn4jGGB1AA8WNQ+VGkwSAjjLFN8Ih8+8cela14HrGgZ88+kt6vmTt793vPPfdcRlf74ers3VQVkiRJkvp41aQHIEmSJO1JDOCSJElSRwZwSZIkqSMDuCRJktSRAVySJEnqaN6kB9DbQQcdVIsWLZr0MCRJkrQbu+22275bVQum27bHBfBFixYxNTU16WFIkiRpN5bkkZm2OQVFkiRJ6sgALkmSJHVkAJckSZI6MoBLkiRJHRnAJUmSpI4M4JIkSVJHBnBJkiSpIwO4JEmS1JEBXJIkSepoj/slzHE56revnvQQpFlx2x+cOekhSJK0W/MOuCRJktSRAVySJEnqyAAuSZIkdWQAlyRJkjoygEuSJEkdGcAlSZKkjgzgkiRJUkcGcEmSJKmjsQXwJIcl+VqSe5KsT/KbrX5hkk1J1rXl5KF9fjfJhiT3JzlxqL681TYkOX+ofniSb7f6tUn2Gd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HuB9YkORtrZ+9kxw5tjOS5qgkRzD45eAnGfyK8K+364okhyb5qRG7uh94Qwvr8MK/Okl6BZLsl+T4odJSBl/K3N4zDOaLb/MwcFRb/5UXtdac5B0JTVxVPd++vHUWsLLV/ibJHcB9wKPAN1vz1wDXt/mnAf7dDN1eC/wBcHjr78ftyyuXJnktgz/7/wVYP45zkuaYfdvUKxhcNyur6nngq0l+DvjWYEYKPwDezeB/YHeoqp5N8gHgK0l+CNw6lpFLe44A/z7Jp4BnGdyEOmuadlcC/z3Js8DbgA8zmJZ5MfD1LiPVTvMxhJKkVyTJflX1gzaf/DLggar6xKTHJUlznVNQJEmv1PvanfX1wGsZPBVFkvQSvAMuSZIkdeQdcEmSJKkjA7gkSZLUkQFckiRJ6sgALkmSJHVkAJckSZI6+r8plowdMX9jBgAAAABJRU5ErkJggg==)
 
%% Cell type:code id:7f3a8ccd tags:
``` python
print(counts)
```
%% Cell type:code id:51f23d6d tags:
 
``` python
obj10_300 = np.sum(number_of_imgs_real[:,0].astype(np.int32), axis = 0)
obj10_500 = np.sum(number_of_imgs_real[:,1].astype(np.int32), axis = 0)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment