Run this model with HF Jobs
Run frankers3/detr2 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/frankers3/detr2. 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/frankers3/detr2 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 frankers3/detr2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use frankers3/detr2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="frankers3/detr2")# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForObjectDetection model = AutoModelForObjectDetection.from_pretrained("frankers3/detr2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 200
Browse filesFiles changed (7)
- config.jsonAdded+99
- model.safetensorsAdded+3
- preprocessor_config.jsonAdded+25
- runs/Apr05_04-11-58_61908f1da4d5/events.out.tfevents.1712290330.61908f1da4d5.73078.0Added+3
- runs/Apr05_04-12-28_61908f1da4d5/events.out.tfevents.1712290351.61908f1da4d5.73078.1Added+3
- runs/Apr05_04-13-20_61908f1da4d5/events.out.tfevents.1712290405.61908f1da4d5.73078.2Added+3
- training_args.binAdded+3
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899{ "_name_or_path": "jozhang97/deta-swin-large", "activation_dropout": 0.0, "activation_function": "relu", "architectures": [ "DetaForObjectDetection" ], "assign_first_stage": true, "assign_second_stage": true, "attention_dropout": 0.0, "auxiliary_loss": false, "backbone": null, "backbone_config": { "attention_probs_dropout_prob": 0.0, "depths": [ 2, 2, 18, 2 ], "drop_path_rate": 0.1, "embed_dim": 192, "encoder_stride": 32, "hidden_act": "gelu", "hidden_dropout_prob": 0.0, "hidden_size": 1536, "image_size": 224, "initializer_range": 0.02, "layer_norm_eps": 1e-05, "mlp_ratio": 4.0, "model_type": "swin", "num_heads": [ 6, 12, 24, 48 ], "num_layers": 4, "out_features": [ "stage2", "stage3", "stage4" ], "out_indices": [ 2, 3, 4 ], "patch_size": 4, "path_norm": true, "qkv_bias": true, "use_absolute_embeddings": false, "window_size": 12 }, "backbone_kwargs": null, "bbox_cost": 5, "bbox_loss_coefficient": 5, "class_cost": 1, "d_model": 256, "decoder_attention_heads": 8, "decoder_ffn_dim": 2048, "decoder_layerdrop": 0.0, "decoder_layers": 6, "decoder_n_points": 4, "dice_loss_coefficient": 1, "disable_custom_kernels": true, "dropout": 0.1, "encoder_attention_heads": 8, "encoder_ffn_dim": 2048, "encoder_layerdrop": 0.0, "encoder_layers": 6, "encoder_n_points": 4, "eos_coefficient": 0.1, "focal_alpha": 0.25, "giou_cost": 2, "giou_loss_coefficient": 2, "id2label": { "0": "cell" }, "init_std": 0.02, "init_xavier_std": 1.0, "is_encoder_decoder": true, "label2id": { "cell": 0 }, "mask_loss_coefficient": 1, "max_position_embeddings": 2048, "model_type": "deta", "num_feature_levels": 5, "num_queries": 900, "position_embedding_type": "sine", "torch_dtype": "float32", "transformers_version": "4.38.2", "two_stage": true, "two_stage_num_proposals": 300, "use_pretrained_backbone": false, "use_timm_backbone": false, "with_box_refine": true}123version https://git-lfs.github.com/spec/v1oid sha256:ac92c621296384f62cf129c61c873c986cdb7fd4ed5144d6d910d6bd77fa2357size 87853894012345678910111213141516171819202122232425{ "do_convert_annotations": true, "do_normalize": true, "do_pad": true, "do_rescale": true, "do_resize": true, "format": "coco_detection", "image_mean": [ 0.485, 0.456, 0.406 ], "image_processor_type": "DetaImageProcessor", "image_std": [ 0.229, 0.224, 0.225 ], "resample": 2, "rescale_factor": 0.00392156862745098, "size": { "longest_edge": 1333, "shortest_edge": 800 }}123version https://git-lfs.github.com/spec/v1oid sha256:c0e49c659aaa596731f4c61836e9d2fc0acdbc09417eb7cef8f77d2565d07621size 6041123version https://git-lfs.github.com/spec/v1oid sha256:3eed21121b865658966ad5d7966c22805b781f5a921059406252212f1681fa9asize 6041123version https://git-lfs.github.com/spec/v1oid sha256:50c49912240c179759266f089b9342285748ec25d35617423ed681782a834d89size 6040123version https://git-lfs.github.com/spec/v1oid sha256:fadac92c357b88245249e2e8779faf5c7058be421af949d99848ea836d247dc8size 4856config.jsonAdded+99
model.safetensorsAdded+3
preprocessor_config.jsonAdded+25
runs/Apr05_04-11-58_61908f1da4d5/events.out.tfevents.1712290330.61908f1da4d5.73078.0Added+3
runs/Apr05_04-12-28_61908f1da4d5/events.out.tfevents.1712290351.61908f1da4d5.73078.1Added+3
runs/Apr05_04-13-20_61908f1da4d5/events.out.tfevents.1712290405.61908f1da4d5.73078.2Added+3
training_args.binAdded+3