Instructions to use chlab/efficientnet_61_planet_detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use chlab/efficientnet_61_planet_detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="chlab/efficientnet_61_planet_detection") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("chlab/efficientnet_61_planet_detection", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +2 -1
config.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
{
|
| 2 |
"_num_labels": 2,
|
| 3 |
-
"activation_function": "softmax"
|
|
|
|
| 4 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"_num_labels": 2,
|
| 3 |
+
"activation_function": "softmax",
|
| 4 |
+
"model_type": "regnet"
|
| 5 |
}
|