Run this model with HF Jobs
Run NeuronZero/WBC-Classifier on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/NeuronZero/WBC-Classifier. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/NeuronZero/WBC-Classifier on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use NeuronZero/WBC-Classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NeuronZero/WBC-Classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="NeuronZero/WBC-Classifier") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("NeuronZero/WBC-Classifier") model = AutoModelForImageClassification.from_pretrained("NeuronZero/WBC-Classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files123456783 unmodified lines1213141516171819202122---tags:- autotrain- image-classificationwidget:- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpgexample_title: Tiger3 unmodified linesexample_title: Palacedatasets:- Falah/Blood_8_classes_Dataset---# Model Trained Using AutoTrain- Problem type: Image Classification## Validation MetricsNo validation metrics available123456783 unmodified lines1213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061---tags:- image-classification- auto-train- visionwidget:- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpgexample_title: Tiger3 unmodified linesexample_title: Palacedatasets:- Falah/Blood_8_classes_Datasetlicense: apache-2.0pipeline_tag: image-classification---# ResNet-50 v1.5ResNet model pre-trained on ImageNet-1k at resolution 224x224. It was introduced in the paper [Deep Residual Learning for Image Recognition](https://arxiv.org/abs/1512.03385) by He et al.Disclaimer: The team releasing ResNet did not write a model card for this model so this model card has been written by the Hugging Face team.## Model descriptionResNet (Residual Network) is a convolutional neural network that democratized the concepts of residual learning and skip connections. This enables to train much deeper models.This is ResNet v1.5, which differs from the original model: in the bottleneck blocks which require downsampling, v1 has stride = 2 in the first 1x1 convolution, whereas v1.5 has stride = 2 in the 3x3 convolution. This difference makes ResNet50 v1.5 slightly more accurate (\~0.5% top1) than v1, but comes with a small performance drawback (~5% imgs/sec) according to [Nvidia](https://catalog.ngc.nvidia.com/orgs/nvidia/resources/resnet_50_v1_5_for_pytorch).## Validation MetricsNo validation metrics available### How to useHere is how to use this model to classify an image of :```pythonfrom transformers import AutoImageProcessor, ResNetForImageClassificationimport torchfrom datasets import load_datasetdataset = load_dataset("huggingface/cats-image")image = dataset["test"]["image"][0]processor = AutoImageProcessor.from_pretrained("microsoft/resnet-50")model = ResNetForImageClassification.from_pretrained("microsoft/resnet-50")inputs = processor(image, return_tensors="pt")with torch.no_grad():logits = model(**inputs).logits# model predicts one of the 1000 ImageNet classespredicted_label = logits.argmax(-1).item()print(model.config.id2label[predicted_label])
README.md+43-4