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

helper.py 355 B

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
  1. import hydra
  2. import pandas as pd
  3. import wandb
  4. from omegaconf import DictConfig, OmegaConf
  5. @hydra.main(
  6. config_path="../config",
  7. config_name="main",
  8. )
  9. def initialize_wandb(config: DictConfig):
  10. wandb.init(
  11. project="customer_segmentation",
  12. config=OmegaConf.to_object(config),
  13. reinit=True,
  14. mode="disabled",
  15. )
Tip!

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

Comments

Loading...