Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

settings.py 1.2 KB

You have to be logged in to leave a comment. Sign In
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
38
39
  1. class TrainSettings:
  2. ## Paths
  3. class Dataset:
  4. # path to input images
  5. path_to_images = "./data/train2017/train2017"
  6. # path to pkl file generate by text_preprocessing_sng_parser.py
  7. rule_parser_path = "./train_data/captions_preprocessed.pkl"
  8. # path to coreNLP json file
  9. coreNLP_path = "./train_data/captions_preprocessed.json"
  10. # path to annotations (captions)
  11. annotations_path = "./data/annotations_trainval2017/annotations/captions_train2017.json"
  12. class Output:
  13. out_dir = "./train_data"
  14. class Logging:
  15. project_name = "WhatIsGoingOn"
  16. model_dir = "./models"
  17. class ValidationSettings:
  18. ## Paths
  19. class Dataset:
  20. # path to input images
  21. path_to_images = "./data/val2017/val2017"
  22. # path to pkl file generate by text_preprocessing_sng_parser.py
  23. rule_parser_path = "./val_data/captions_preprocessed.pkl"
  24. # path to coreNLP json file
  25. coreNLP_path = "./val_data/captions_preprocessed.json"
  26. # path to annotations (captions)
  27. annotations_path = "./data/annotations_trainval2017/annotations/captions_val2017.json"
  28. class Output:
  29. out_dir = "./val_data"
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...