-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
37 lines (37 loc) · 960 Bytes
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
train:
exp_config:
manual_seed: 49
train_config:
runner:
max_epochs: 100
checkpoint_config:
interval: 1
logging:
interval: 500
validate: True
evaluation:
interval: 1
dataset:
data:
samples_per_gpu: 32
train:
data_prefix: /tao-workspace/brain-tumor-classification/dataset/Training/
pipeline:
- type: RandomResizedCrop
size: 224
classes: /tao-workspace/brain-tumor-classification/classes.txt
val:
data_prefix: /tao-workspace/brain-tumor-classification/dataset/Testing/
classes: /tao-workspace/brain-tumor-classification/classes.txt
test:
data_prefix: /tao-workspace/brain-tumor-classification/dataset/Testing/
classes: /tao-workspace/brain-tumor-classification/classes.txt
model:
backbone:
type: "fan_tiny_8_p4_hybrid"
custom_args:
drop_path: 0.1
head:
num_classes: 4
loss:
type: "CrossEntropyLoss"