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

install-ml.py 367 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
  1. #!/usr/bin/env python
  2. # NOTE: This is only being used by the edge-ml test in circle currently
  3. import sys
  4. from subprocess import call
  5. version = "".join([str(v) for v in sys.version_info[:2]])
  6. if version == "27":
  7. pass
  8. call(["venv/bin/pip", "install", "torch==1.2.0+cpu", "torchvision==0.4.0+cpu",
  9. "-f", "https://download.pytorch.org/whl/torch_stable.html"])
Tip!

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

Comments

Loading...