You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

config.py 630 B

1234567891011121314151617181920212223
  1. import os
  2. class BaseConfig:
  3. """The base config, the value can not be changed."""
  4. # dataset
  5. train_dataset_url = os.getenv("TRAIN_DATASET_URL")
  6. test_dataset_url = os.getenv("TEST_DATASET_URL")
  7. # k8s crd info
  8. namespace = os.getenv("NAMESPACE", "")
  9. worker_name = os.getenv("WORKER_NAME", "")
  10. service_name = os.getenv("SERVICE_NAME", "")
  11. model_url = os.getenv("MODEL_URL")
  12. # user parameter
  13. parameters = os.getenv("PARAMETERS")
  14. # Hard Example Mining Algorithm
  15. hem_name = os.getenv("HEM_NAME")
  16. hem_parameters = os.getenv("HEM_PARAMETERS")
  17. def __init__(self):
  18. pass