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

#643 PPYolo-E

Merged
Ghost merged 1 commits into Deci-AI:master from deci-ai:feature/SG-344-PP-Yolo-E-Training-Replicate-Recipe
1
2
3
4
5
6
7
8
9
  1. def normalize_path(path: str) -> str:
  2. """Normalize the directory of file path. Replace the Windows-style (\\) path separators with unix ones (/).
  3. This is necessary when running on Windows since Hydra compose fails to find a configuration file is the config
  4. directory contains backward slash symbol.
  5. :param path: Input path string
  6. :return: Output path string with all \\ symbols replaces with /.
  7. """
  8. return path.replace("\\", "/")
Discard
Tip!

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