-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into merging_trk
- Loading branch information
Showing
39 changed files
with
178,675 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
task: | ||
- image-detection | ||
|
||
_target_: innofw.core.datamodules.lightning_datamodules.florence.FlorenceImageDataModuleAdapter | ||
#_target_: innofw.core.datamodules.lightning_datamodules.florence.FlorenceJSONLDataModuleAdapter # for jsonl data | ||
|
||
name: florence | ||
description: Набор данных | ||
markup_info: Набор данных содержит разметку bounding box легких и патологий. | ||
date_time: 17.11.2024 | ||
num_workers: 8 | ||
size_to: 768 | ||
|
||
train: | ||
source: "https://api.blackhole.ai.innopolis.university/public-datasets/florence/train.zip" | ||
target: "./data/florence/train/" | ||
|
||
test: | ||
source: "https://api.blackhole.ai.innopolis.university/public-datasets/florence/test.zip" | ||
target: "./data/florence/test/" | ||
|
||
infer: | ||
source: "https://api.blackhole.ai.innopolis.university/public-datasets/florence/infer.zip" | ||
target: "./data/florence/infer" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
task: | ||
- НАЗВАНИЕ РЕШАЕМОЙ ЗАДАЧИ | ||
|
||
name: ИМЯ ДАТАСЕТА | ||
description: ОПИСАНИЕ | ||
markup_info: ИНФОРМАЦИЯ ПО РАЗМЕТКЕ | ||
date_time: ДАТА В ФОРМАТЕ 22.11.2222 | ||
|
||
_target_: ПУТЬ ДО КЛАССА ОТВЕЧАЮЩЕГО ЗА РАБОТУ С ДАТАСЕТОМ | ||
|
||
train: | ||
source: URL / ЛОКАЛЬНЫЙ ПУТЬ | ||
target: ЛОКАЛЬНЫЙ ПУТЬ | ||
|
||
test: | ||
source: URL / ЛОКАЛЬНЫЙ ПУТЬ | ||
target: ЛОКАЛЬНЫЙ ПУТЬ | ||
|
||
infer: | ||
source: URL / ЛОКАЛЬНЫЙ ПУТЬ | ||
target: ЛОКАЛЬНЫЙ ПУТЬ | ||
|
||
num_workers: КОЛВО ПОТОКОВ, ПРИМЕР - 2 | ||
|
||
val_size: ФРАКЦИЯ ОТ ТРЕНИРОВОЧНОЙ ВЫБОРКИ ДЛЯ ВАЛИДАЦИИ, ПРИМЕР - 0.2 | ||
channels_num: КОЛВО КАНАЛОВ В ИЗОБРАЖЕНИИ, ПРИМЕР - 3 | ||
image_size: РАЗМЕР ИЗОБРАЖЕНИЙ К ПОДАЧЕ В МОДЕЛЬ, ПРИМЕР - 800 | ||
num_classes: КОЛВО КЛАССОВ В ДАТАСЕТЕ, ПРИМЕР - 1 | ||
names: | ||
- НАЗВАНИЕ КЛАССА 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# @package _global_ | ||
defaults: | ||
- override /models: detection/florence | ||
- override /datasets: detection/florence | ||
|
||
project: "Florence" | ||
task: "image-detection" | ||
random_seed: 42 | ||
batch_size: 16 | ||
ckpt_path: "https://api.blackhole.ai.innopolis.university/pretrained/med/florence2_epoch_136.onnx" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
name: Florence | ||
description: model for detection lung deceases | ||
|
||
_target_: innofw.core.models.torch.architectures.detection.Florence | ||
tokenizer_save_path: "innofw/core/integrations/florence/tokenizer/" | ||
device: "cpu" | ||
task_prompt: "<CAPTION_TO_PHRASE_GROUNDING>" | ||
text_input: "cardiomegaly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
data_path=$1 | ||
|
||
if [ -z "$data_path" ]; then | ||
python infer.py experiments=detection/florence | ||
else | ||
python infer.py experiments=detection/florence datasets.infer.source="$data_path" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
from innofw.core.integrations.florence.florence_datamodule import ( | ||
FlorenceImageDataModuleAdapter, | ||
FlorenceJSONLDataModuleAdapter, | ||
) |
This file was deleted.
Oops, something went wrong.
Empty file.
Oops, something went wrong.