Instructions to use DeepLearner101/ResNet50_FGSM_FT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DeepLearner101/ResNet50_FGSM_FT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="DeepLearner101/ResNet50_FGSM_FT") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("DeepLearner101/ResNet50_FGSM_FT") model = AutoModelForImageClassification.from_pretrained("DeepLearner101/ResNet50_FGSM_FT") - Notebooks
- Google Colab
- Kaggle
Commit ·
f025c28
1
Parent(s): 1b26fce
{model_path} uploaded
Browse files- config.json +1 -1
- model.safetensors +1 -1
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "best_model_epsilon_0.
|
| 3 |
"architectures": [
|
| 4 |
"ResNetForImageClassification"
|
| 5 |
],
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "best_model_epsilon_0.012",
|
| 3 |
"architectures": [
|
| 4 |
"ResNetForImageClassification"
|
| 5 |
],
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 102482856
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b89fdf65b1057c4a46fbb2cc69c52af268731b7077f298d25ea9202df9b1cd37
|
| 3 |
size 102482856
|