Run this model with HF Jobs
Run escottyp/regular-segmentation-model 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/escottyp/regular-segmentation-model. 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/escottyp/regular-segmentation-model 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 escottyp/regular-segmentation-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use escottyp/regular-segmentation-model with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, SegformerForSemanticSegmentation processor = AutoImageProcessor.from_pretrained("escottyp/regular-segmentation-model") model = SegformerForSemanticSegmentation.from_pretrained("escottyp/regular-segmentation-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 200
Browse filesFiles changed (6)
1checkpoint-*/123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384{ "_name_or_path": "nvidia/segformer-b0-finetuned-ade-512-512", "architectures": [ "SegformerForSemanticSegmentation" ], "attention_probs_dropout_prob": 0.0, "classifier_dropout_prob": 0.1, "decoder_hidden_size": 256, "depths": [ 2, 2, 2, 2 ], "downsampling_rates": [ 1, 4, 8, 16 ], "drop_path_rate": 0.1, "hidden_act": "gelu", "hidden_dropout_prob": 0.0, "hidden_sizes": [ 32, 64, 160, 256 ], "id2label": { "0": "road", "1": "human", "2": "vehicles", "3": "traffic lights", "4": "background" }, "image_size": 224, "initializer_range": 0.02, "label2id": { "background": 4, "human": 1, "road": 0, "traffic lights": 3, "vehicles": 2 }, "layer_norm_eps": 1e-06, "mlp_ratios": [ 4, 4, 4, 4 ], "model_type": "segformer", "num_attention_heads": [ 1, 2, 5, 8 ], "num_channels": 3, "num_encoder_blocks": 4, "patch_sizes": [ 7, 3, 3, 3 ], "reshape_last_stage": true, "semantic_loss_ignore_index": 255, "sr_ratios": [ 8, 4, 2, 1 ], "strides": [ 4, 2, 2, 2 ], "torch_dtype": "float32", "transformers_version": "4.28.1"}123version https://git-lfs.github.com/spec/v1oid sha256:98e99533aecc03237cf355c21f59c8420bf8741777c7cc7f19caec095b7f9932size 14934861123version https://git-lfs.github.com/spec/v1oid sha256:07def3e158c8c4ed5a76ac96b35be2ef148f3e80abc9c815b8f7b86741cbef03size 5900123version https://git-lfs.github.com/spec/v1oid sha256:834da69866fda66dd22ddfa64e6ea5dafb612035ea7e3539f483975d7a978353size 6625123version https://git-lfs.github.com/spec/v1oid sha256:2732660972e589e831f860b552bd0a9b44c51f8863ff6db6c09aff08cc52f71fsize 3579.gitignoreAdded+1
config.jsonAdded+84
pytorch_model.binAdded+3
runs/May07_17-53-43_07ae8c4f2de7/1683482028.6777453/events.out.tfevents.1683482028.07ae8c4f2de7.442.3Added+3
runs/May07_17-53-43_07ae8c4f2de7/events.out.tfevents.1683482028.07ae8c4f2de7.442.2Added+3
training_args.binAdded+3