Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bhpfelix/segment-anything-finetuner
/ functions
Functions
17 in github.com/bhpfelix/segment-anything-finetuner
⨍
Functions
17
◇
Types & classes
2
↓ 1 callers
Function
all_gather
Run all_gather on arbitrary picklable data (not necessarily tensors) Args: data: any picklable object Returns: list[data]
finetune.py:47
↓ 1 callers
Function
get_world_size
()
finetune.py:38
↓ 1 callers
Function
main
()
finetune.py:335
Method
__getitem__
(self, index)
finetune.py:107
Method
__init__
(self, data_root, split, image_size)
finetune.py:92
Method
__init__
( self, model_type, checkpoint_path, freeze_image_encoder=Fals
finetune.py:145
Method
__len__
(self)
finetune.py:104
Method
collate_fn
(cls, batch)
finetune.py:137
Method
configure_optimizers
(self)
finetune.py:290
Method
forward
(self, imgs, bboxes, labels)
finetune.py:186
Method
train_dataloader
(self)
finetune.py:316
Method
training_step
(self, batch, batch_nb)
finetune.py:247
Method
val_dataloader
(self)
finetune.py:325
Method
validation_epoch_end
(self, outputs)
finetune.py:273
Method
validation_step
(self, batch, batch_nb)
finetune.py:267
Method
warmup_step_lr
(steps)
finetune.py:293
Method
warmup_step_lr_builder
(warmup_steps, milestones, gamma)
finetune.py:292