Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,3 @@
|
|
| 1 |
-
# -*- coding: utf-8 -*-
|
| 2 |
-
"""DogBreadDetection.ipynb
|
| 3 |
-
|
| 4 |
'''
|
| 5 |
The code is designed to identify dog breeds from uploaded images by leveraging a pretrained image classification model,
|
| 6 |
such as VGG16 or ResNet, fine-tuned specifically for dog breed classification. This is achieved by using a Convolutional
|
|
@@ -8,9 +5,9 @@ Neural Network (CNN) within PyTorch framework. Additionally, Gradio is used to b
|
|
| 8 |
interface for easy image uploads and breed predictions.
|
| 9 |
'''
|
| 10 |
|
| 11 |
-
!pip install torch torchvision
|
| 12 |
-
!pip install matplotlib
|
| 13 |
-
!pip install gradio
|
| 14 |
|
| 15 |
import numpy as np
|
| 16 |
import torch
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
'''
|
| 2 |
The code is designed to identify dog breeds from uploaded images by leveraging a pretrained image classification model,
|
| 3 |
such as VGG16 or ResNet, fine-tuned specifically for dog breed classification. This is achieved by using a Convolutional
|
|
|
|
| 5 |
interface for easy image uploads and breed predictions.
|
| 6 |
'''
|
| 7 |
|
| 8 |
+
#!pip install torch torchvision
|
| 9 |
+
#!pip install matplotlib
|
| 10 |
+
#!pip install gradio
|
| 11 |
|
| 12 |
import numpy as np
|
| 13 |
import torch
|