Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ai8hyf/TF-ID
/ functions
Functions
15 in github.com/ai8hyf/TF-ID
⨍
Functions
15
◇
Types & classes
2
↓ 1 callers
Method
_load_entries
(self)
train.py:50
↓ 1 callers
Function
convert_to_florence_format
(coco_json_dir, output_dir)
coco_to_florence.py:15
↓ 1 callers
Function
format_annotation
(annotation)
coco_to_florence.py:39
↓ 1 callers
Function
pdf_to_image
(pdf_path)
pdf_to_table_figures.py:14
↓ 1 callers
Function
pdf_to_table_figures
(pdf_path, model_id, output_dir)
pdf_to_table_figures.py:41
↓ 1 callers
Function
save_image_from_bbox
(image, annotation, page, output_dir)
pdf_to_table_figures.py:32
↓ 1 callers
Function
tf_id_detection
(image, model, processor)
pdf_to_table_figures.py:18
↓ 1 callers
Function
train_model
(train_loader, val_loader, model, processor, epochs, lr)
train.py:104
Method
__getitem__
(self, idx: int)
train.py:61
Method
__getitem__
(self, idx)
train.py:80
Method
__init__
(self, jsonl_file_path: str, image_directory_path: str)
train.py:45
Method
__init__
(self, jsonl_file_path: str, image_directory_path: str)
train.py:74
Method
__len__
(self)
train.py:58
Method
__len__
(self)
train.py:77
Function
collate_fn
(batch)
train.py:86