Automating Conda Directory
Problem: Conda builds require a directory with files:
Example: https://github.com/fastai/fastconda/tree/master/opencv-python-headless
- build.bat
- meata.yaml
- build.sh
Automating Conda Directory
Problem: Conda builds require a directory with files:
Example: https://github.com/fastai/fastconda/tree/master/opencv-python-headless
Criteria | @danfrankj | @hamelsmu |
---|---|---|
Row One | ||
Row Two | -[ ] | -[x] |
from multiprocessing import Pool | |
from time import sleep | |
def f(x): | |
sleep(1000) # simulate some computation | |
return x*x | |
if __name__ == '__main__': | |
with Pool(8) as p: | |
print(p.map(f, range(8))) |