Skip to content

Commit

Permalink
Move training/evaluation data to unified directory
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinDong committed May 10, 2024
1 parent 64ba0c7 commit 225c70d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions tinymm/CLIP/evaluate.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@


class Imagenet1K:
image_path: str = "/home/robin/Downloads/imagenet/val"
map_file_path: str = "/home/robin/Downloads/imagenet_map.txt"
image_path: str = "/data/imagenet/val"
map_file_path: str = "/data/imagenet/imagenet_map.txt"
nr_categories: int = 1000
seq_len: int = 64
image_size: tuple = (256, 256)
Expand Down
8 changes: 4 additions & 4 deletions tinymm/model_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ class ModelConfig:
@dataclass
class TrainConfig:
data_path: tuple = (
"/home/robin/Downloads/cc12m",
"/data/coco_captions/",
"/home/robin/Downloads/cc3m",
"/home/robin/Downloads/sbu_caption",
"/data/cc12m",
"/data/coco_captions",
"/data/cc3m",
"/data/sbu_caption",
)
eval_ratio: float = 0.05
num_workers: int = 4
Expand Down

0 comments on commit 225c70d

Please sign in to comment.