keplerlab / katna

Tool for automating common video key-frame extraction, video compression and Image Auto-crop/Image-resize tasks
https://katna.readthedocs.io/
MIT License
313 stars 59 forks source link

multi-processing issue while running on Google Colab #1

Closed binod132 closed 4 years ago

binod132 commented 4 years ago

ValueError Traceback (most recent call last)

in () 4 5 #instantiate the video class ----> 6 vd = Video() 7 8 #number of key-frame images to be extracted 2 frames /usr/lib/python3.6/multiprocessing/pool.py in __init__(self, processes, initializer, initargs, maxtasksperchild, context) 165 processes = os.cpu_count() or 1 166 if processes < 1: --> 167 raise ValueError("Number of processes must be at least 1") 168 169 if initializer is not None and not callable(initializer): ValueError: Number of processes must be at least 1
ermac2694 commented 4 years ago

@binod132 The issue has been resolved.