Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (15 sloc) 456 Bytes
from jug.task import Task, TaskGenerator
from time import sleep
def compfeats(url):
print('Feats called: {}'.format(url))
return url+'feats'
def nfold(param, feats):
print('nfold called: {} {}'.format(param, feats))
return param, feats
imgs = ['images/img1.png','images/img2.png']
feats = [compfeats(img) for img in imgs]
tenfold = [nfold(param=p,feats=feats) for p in range(10)]
Something went wrong with that request. Please try again.