Run this model with HF Jobs
Run HichTala/DiffusionDet 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/HichTala/DiffusionDet. 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/HichTala/DiffusionDet 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 HichTala/DiffusionDet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HichTala/DiffusionDet with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="HichTala/DiffusionDet", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("HichTala/DiffusionDet", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload DiffusionDet
Browse filesFiles changed (2)
- config.json+178-3
- model.safetensorsAdded+3
12345678910115 unmodified lines1718192021222344 unmodified lines686970717273{"_class_name": "DiffusionDetConfig","_diffusers_version": "0.32.0.dev0","activation": "relu","alpha": 0.25,"backbone": "resnet50","backbone_config": null,"backbone_kwargs": null,"backbone_multiplier": 1.0,"class_weight": 2.0,"deep_supervision": true,5 unmodified lines"gamma": 2.0,"giou_weight": 2.0,"hidden_dim": 256,"l1_weight": 5.0,"no_object_weight": 0.1,"num_attn_heads": 8,"num_channels": 3,44 unmodified lines3],"swin_size": "B","use_fed_loss": false,"use_focal": true,"use_nms": true,12345678910111213141516171819205 unmodified lines262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519644 unmodified lines241242243244245246247248{"activation": "relu","alpha": 0.25,"architectures": ["DiffusionDet"],"backbone": "resnet50","backbone_config": null,"backbone_kwargs": {"in_chans": 3,"out_indices": [1,2,3,4]},"backbone_multiplier": 1.0,"class_weight": 2.0,"deep_supervision": true,5 unmodified lines"gamma": 2.0,"giou_weight": 2.0,"hidden_dim": 256,"id2label": {"0": "LABEL_0","1": "LABEL_1","2": "LABEL_2","3": "LABEL_3","4": "LABEL_4","5": "LABEL_5","6": "LABEL_6","7": "LABEL_7","8": "LABEL_8","9": "LABEL_9","10": "LABEL_10","11": "LABEL_11","12": "LABEL_12","13": "LABEL_13","14": "LABEL_14","15": "LABEL_15","16": "LABEL_16","17": "LABEL_17","18": "LABEL_18","19": "LABEL_19","20": "LABEL_20","21": "LABEL_21","22": "LABEL_22","23": "LABEL_23","24": "LABEL_24","25": "LABEL_25","26": "LABEL_26","27": "LABEL_27","28": "LABEL_28","29": "LABEL_29","30": "LABEL_30","31": "LABEL_31","32": "LABEL_32","33": "LABEL_33","34": "LABEL_34","35": "LABEL_35","36": "LABEL_36","37": "LABEL_37","38": "LABEL_38","39": "LABEL_39","40": "LABEL_40","41": "LABEL_41","42": "LABEL_42","43": "LABEL_43","44": "LABEL_44","45": "LABEL_45","46": "LABEL_46","47": "LABEL_47","48": "LABEL_48","49": "LABEL_49","50": "LABEL_50","51": "LABEL_51","52": "LABEL_52","53": "LABEL_53","54": "LABEL_54","55": "LABEL_55","56": "LABEL_56","57": "LABEL_57","58": "LABEL_58","59": "LABEL_59","60": "LABEL_60","61": "LABEL_61","62": "LABEL_62","63": "LABEL_63","64": "LABEL_64","65": "LABEL_65","66": "LABEL_66","67": "LABEL_67","68": "LABEL_68","69": "LABEL_69","70": "LABEL_70","71": "LABEL_71","72": "LABEL_72","73": "LABEL_73","74": "LABEL_74","75": "LABEL_75","76": "LABEL_76","77": "LABEL_77","78": "LABEL_78","79": "LABEL_79"},"l1_weight": 5.0,"label2id": {"LABEL_0": 0,"LABEL_1": 1,"LABEL_10": 10,"LABEL_11": 11,"LABEL_12": 12,"LABEL_13": 13,"LABEL_14": 14,"LABEL_15": 15,"LABEL_16": 16,"LABEL_17": 17,"LABEL_18": 18,"LABEL_19": 19,"LABEL_2": 2,"LABEL_20": 20,"LABEL_21": 21,"LABEL_22": 22,"LABEL_23": 23,"LABEL_24": 24,"LABEL_25": 25,"LABEL_26": 26,"LABEL_27": 27,"LABEL_28": 28,"LABEL_29": 29,"LABEL_3": 3,"LABEL_30": 30,"LABEL_31": 31,"LABEL_32": 32,"LABEL_33": 33,"LABEL_34": 34,"LABEL_35": 35,"LABEL_36": 36,"LABEL_37": 37,"LABEL_38": 38,"LABEL_39": 39,"LABEL_4": 4,"LABEL_40": 40,"LABEL_41": 41,"LABEL_42": 42,"LABEL_43": 43,"LABEL_44": 44,"LABEL_45": 45,"LABEL_46": 46,"LABEL_47": 47,"LABEL_48": 48,"LABEL_49": 49,"LABEL_5": 5,"LABEL_50": 50,"LABEL_51": 51,"LABEL_52": 52,"LABEL_53": 53,"LABEL_54": 54,"LABEL_55": 55,"LABEL_56": 56,"LABEL_57": 57,"LABEL_58": 58,"LABEL_59": 59,"LABEL_6": 6,"LABEL_60": 60,"LABEL_61": 61,"LABEL_62": 62,"LABEL_63": 63,"LABEL_64": 64,"LABEL_65": 65,"LABEL_66": 66,"LABEL_67": 67,"LABEL_68": 68,"LABEL_69": 69,"LABEL_7": 7,"LABEL_70": 70,"LABEL_71": 71,"LABEL_72": 72,"LABEL_73": 73,"LABEL_74": 74,"LABEL_75": 75,"LABEL_76": 76,"LABEL_77": 77,"LABEL_78": 78,"LABEL_79": 79,"LABEL_8": 8,"LABEL_9": 9},"no_object_weight": 0.1,"num_attn_heads": 8,"num_channels": 3,44 unmodified lines3],"swin_size": "B","torch_dtype": "float32","transformers_version": "4.47.0.dev0","use_fed_loss": false,"use_focal": true,"use_nms": true,
123version https://git-lfs.github.com/spec/v1oid sha256:d10cceefec40f9708688e70ee509c4e8b485de3d07a88e1933f24eb46b8b6634size 443203280config.json+178-3
model.safetensorsAdded+3