Run this model with HF Jobs
Run IVSandman/internship 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/IVSandman/internship. 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/IVSandman/internship 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 IVSandman/internship with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TF-Keras
How to use IVSandman/internship with TF-Keras:
# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy), and from_pretrained_keras was removed in huggingface_hub 1.0. # See https://github.com/keras-team/tf-keras for more details. # !pip install "huggingface_hub<1.0" tf_keras from huggingface_hub import from_pretrained_keras model = from_pretrained_keras("IVSandman/internship") - Notebooks
- Google Colab
- Kaggle
Teeradej Sawettraporn commited on
Upload 23 files
Browse filesFiles changed (24)
- .gitattributes+8
- TF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/checkpointAdded+16
- TF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/ckpt-15.data-00000-of-00001Added+3
- TF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/ckpt-15.indexAdded
- TF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/ckpt-16.data-00000-of-00001Added+3
- TF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/ckpt-16.indexAdded
- TF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/ckpt-17.data-00000-of-00001Added+3
- TF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/ckpt-17.indexAdded
- TF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/ckpt-18.data-00000-of-00001Added+3
- TF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/ckpt-18.indexAdded
- TF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/ckpt-19.data-00000-of-00001Added+3
- TF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/ckpt-19.indexAdded
- TF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/ckpt-20.data-00000-of-00001Added+3
- TF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/ckpt-20.indexAdded
- TF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/ckpt-21.data-00000-of-00001Added+3
- TF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/ckpt-21.indexAdded
- TF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/train/events.out.tfevents.1716449412.04bddf534ca8.6256.0.v2Added+3
- TF-object_detection/saved_model/method_2_lite_20k_pillow/detect.tfliteAdded+3
- TF-object_detection/saved_model/method_2_lite_20k_pillow/labelmap.pbtxtAdded+5
- TF-object_detection/saved_model/method_2_lite_20k_pillow/labelmap.txtAdded+1
- TF-object_detection/saved_model/method_2_lite_20k_pillow/pipeline_file.configAdded+201
- TF-object_detection/saved_model/method_2_lite_20k_pillow/saved_model/saved_model.pbAdded+3
- TF-object_detection/saved_model/method_2_lite_20k_pillow/saved_model/variables/variables.data-00000-of-00001Added+3
- TF-object_detection/saved_model/method_2_lite_20k_pillow/saved_model/variables/variables.indexAdded
65 unmodified lines666768697071727374757665 unmodified linesTF-object_detection/saved_model/method_2_lite_20k_enhance_coco/checkpoint/ckpt-20.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -textTF-object_detection/saved_model/method_2_lite_20k_enhance_coco/checkpoint/ckpt-21.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -textTF-object_detection/saved_model/method_2_lite_20k_enhance_coco/saved_model/variables/variables.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -textTF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/ckpt-15.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -textTF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/ckpt-16.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -textTF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/ckpt-17.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -textTF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/ckpt-18.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -textTF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/ckpt-19.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -textTF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/ckpt-20.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -textTF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/ckpt-21.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -textTF-object_detection/saved_model/method_2_lite_20k_pillow/saved_model/variables/variables.data-00000-of-00001 filter=lfs diff=lfs merge=lfs -text12345678910111213141516model_checkpoint_path: "ckpt-21"all_model_checkpoint_paths: "ckpt-15"all_model_checkpoint_paths: "ckpt-16"all_model_checkpoint_paths: "ckpt-17"all_model_checkpoint_paths: "ckpt-18"all_model_checkpoint_paths: "ckpt-19"all_model_checkpoint_paths: "ckpt-20"all_model_checkpoint_paths: "ckpt-21"all_model_checkpoint_timestamps: 1716453987.2077157all_model_checkpoint_timestamps: 1716454303.2380471all_model_checkpoint_timestamps: 1716454618.8971076all_model_checkpoint_timestamps: 1716454934.7164679all_model_checkpoint_timestamps: 1716455250.0688374all_model_checkpoint_timestamps: 1716455565.9517615all_model_checkpoint_timestamps: 1716455882.8654027last_preserved_timestamp: 1716449446.7915363123version https://git-lfs.github.com/spec/v1oid sha256:6725efd98888906b897e5063c2b99284abdbf5e6c753e2d486b6466fe9f91d98size 20734530123version https://git-lfs.github.com/spec/v1oid sha256:344149dd8d7cde9a412ad5d38e0681a9fe70e23ab5a9e3ef19a481b07b150786size 20734530123version https://git-lfs.github.com/spec/v1oid sha256:ed908521090e288c4c114cdad6b437091507c991a245b321489631bad0958f96size 20734530123version https://git-lfs.github.com/spec/v1oid sha256:ae28a4dc86d39e13e9ec22be2a19e58dbd075bbba3b426bc5a0a1cbaa30162a3size 20734530123version https://git-lfs.github.com/spec/v1oid sha256:95e633477573111b01a645a0c1f2cb08d50929af0761eb715769f03e7e3b47cfsize 20734530123version https://git-lfs.github.com/spec/v1oid sha256:3744e45519bcf7fda639ac92ac29d290b0d25f34759b3b91e3a1a0a3d092c877size 20734530123version https://git-lfs.github.com/spec/v1oid sha256:0e1a611c99722f18ac78be872854013ac53d05c74ec87c052a272682c7221c23size 20734530123version https://git-lfs.github.com/spec/v1oid sha256:59eb13e61e6966b49c7469515cc3cc7bfa58fe7873802928cf16cc7a4b1bacdasize 51193874123version https://git-lfs.github.com/spec/v1oid sha256:c78e99e067d432d21f47c73ed6f101f7586b1ea82e541898fdab8305b34482ddsize 1149699212345item { id: 1 name: 'pillow'}
1pillow123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201# SSD with Mobilenet v2 FPN-lite (go/fpn-lite) feature extractor, shared box# predictor and focal loss (a mobile version of Retinanet).# Retinanet: see Lin et al, https://arxiv.org/abs/1708.02002# Trained on COCO, initialized from Imagenet classification checkpoint# Train on TPU-8## Achieves 22.2 mAP on COCO17 Val
model { ssd { inplace_batchnorm_update: true freeze_batchnorm: false num_classes: 1 box_coder { faster_rcnn_box_coder { y_scale: 10.0 x_scale: 10.0 height_scale: 5.0 width_scale: 5.0 } } matcher { argmax_matcher { matched_threshold: 0.5 unmatched_threshold: 0.5 ignore_thresholds: false negatives_lower_than_unmatched: true force_match_for_each_row: true use_matmul_gather: true } } similarity_calculator { iou_similarity { } } encode_background_as_zeros: true anchor_generator { multiscale_anchor_generator { min_level: 3 max_level: 7 anchor_scale: 4.0 aspect_ratios: [1.0, 2.0, 0.5] scales_per_octave: 2 } } image_resizer { fixed_shape_resizer { height: 320 width: 320 } } box_predictor { weight_shared_convolutional_box_predictor { depth: 128 class_prediction_bias_init: -4.6 conv_hyperparams { activation: RELU_6, regularizer { l2_regularizer { weight: 0.00004 } } initializer { random_normal_initializer { stddev: 0.01 mean: 0.0 } } batch_norm { scale: true, decay: 0.997, epsilon: 0.001, } } num_layers_before_predictor: 4 share_prediction_tower: true use_depthwise: true kernel_size: 3 } } feature_extractor { type: 'ssd_mobilenet_v2_fpn_keras' use_depthwise: true fpn { min_level: 3 max_level: 7 additional_layer_depth: 128 } min_depth: 16 depth_multiplier: 1.0 conv_hyperparams { activation: RELU_6, regularizer { l2_regularizer { weight: 0.00004 } } initializer { random_normal_initializer { stddev: 0.01 mean: 0.0 } } batch_norm { scale: true, decay: 0.997, epsilon: 0.001, } } override_base_feature_extractor_hyperparams: true } loss { classification_loss { weighted_sigmoid_focal { alpha: 0.25 gamma: 2.0 } } localization_loss { weighted_smooth_l1 { } } classification_weight: 1.0 localization_weight: 1.0 } normalize_loss_by_num_matches: true normalize_loc_loss_by_codesize: true post_processing { batch_non_max_suppression { score_threshold: 1e-8 iou_threshold: 0.6 max_detections_per_class: 100 max_total_detections: 100 } score_converter: SIGMOID } }}
train_config: { fine_tune_checkpoint_version: V2 fine_tune_checkpoint: "/content/models/mymodel/ssd_mobilenet_v2_fpnlite_320x320_coco17_tpu-8/checkpoint/ckpt-0" fine_tune_checkpoint_type: "detection" batch_size: 16 sync_replicas: true startup_delay_steps: 0 replicas_to_aggregate: 8 num_steps: 20000 data_augmentation_options { random_horizontal_flip { } } data_augmentation_options { random_crop_image { min_object_covered: 0.0 min_aspect_ratio: 0.75 max_aspect_ratio: 3.0 min_area: 0.75 max_area: 1.0 overlap_thresh: 0.0 } } optimizer { momentum_optimizer: { learning_rate: { cosine_decay_learning_rate { learning_rate_base: .08 total_steps: 50000 warmup_learning_rate: .026666 warmup_steps: 1000 } } momentum_optimizer_value: 0.9 } use_moving_average: false } max_number_of_boxes: 100 unpad_groundtruth_tensors: false}
train_input_reader: { label_map_path: "/content/labelmap.pbtxt" tf_record_input_reader { input_path: "/content/train.tfrecord" }}
eval_config: { metrics_set: "coco_detection_metrics" use_moving_averages: false}
eval_input_reader: { label_map_path: "/content/labelmap.pbtxt" shuffle: false num_epochs: 1 tf_record_input_reader { input_path: "/content/val.tfrecord" }}
123version https://git-lfs.github.com/spec/v1oid sha256:72705b8bdcc8b01df4885dab1d9acd6505693a601bbf63c94548bb9bd39a3da3size 6820129123version https://git-lfs.github.com/spec/v1oid sha256:9110ee48b56b7d399befd41dc8795ba03f0ae53524bdb7af09ecd26f71f908bfsize 10590742.gitattributes+8
TF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/checkpointAdded+16
TF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/ckpt-15.data-00000-of-00001Added+3
TF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/ckpt-15.indexAdded
TF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/ckpt-16.data-00000-of-00001Added+3
TF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/ckpt-16.indexAdded
TF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/ckpt-17.data-00000-of-00001Added+3
TF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/ckpt-17.indexAdded
TF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/ckpt-18.data-00000-of-00001Added+3
TF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/ckpt-18.indexAdded
TF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/ckpt-19.data-00000-of-00001Added+3
TF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/ckpt-19.indexAdded
TF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/ckpt-20.data-00000-of-00001Added+3
TF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/ckpt-20.indexAdded
TF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/ckpt-21.data-00000-of-00001Added+3
TF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/ckpt-21.indexAdded
TF-object_detection/saved_model/method_2_lite_20k_pillow/checkpoint/train/events.out.tfevents.1716449412.04bddf534ca8.6256.0.v2Added+3
TF-object_detection/saved_model/method_2_lite_20k_pillow/detect.tfliteAdded+3
TF-object_detection/saved_model/method_2_lite_20k_pillow/labelmap.pbtxtAdded+5
TF-object_detection/saved_model/method_2_lite_20k_pillow/labelmap.txtAdded+1
TF-object_detection/saved_model/method_2_lite_20k_pillow/pipeline_file.configAdded+201
TF-object_detection/saved_model/method_2_lite_20k_pillow/saved_model/saved_model.pbAdded+3
TF-object_detection/saved_model/method_2_lite_20k_pillow/saved_model/variables/variables.data-00000-of-00001Added+3
TF-object_detection/saved_model/method_2_lite_20k_pillow/saved_model/variables/variables.indexAdded