I have installed DeOldify on my Windows machine and followed the tutorial for ImageColorizer.ipynb without any issues. However, I am encountering an error while working through theColorizeTrainingStable.ipynb tutorial. Specifically, the error occurs when I attempt to run the code block for “Create black and white training images.”
I downloaded the dataset from Kaggle’s ImageNet Object Localization Challenge as per the instructions and made no changes to the folder structure. The paths in the Setup cell are also correctly configured. The issue arises when I run the following block of code:
if not path_lr.exists():
il = ImageList.from_folder(path_hr)
parallel(create_training_images, il.items)
Upon executing this cell, I receive the following error:
---------------------------------------------------------------------------
BrokenProcessPool Traceback (most recent call last)
Cell In[19], line 3
1 if not path_lr.exists():
2 il = ImageList.from_folder(path_hr)
----> 3 parallel(create_training_images, il.items)
File D:\python_projects\conda_projects\deoldify\downloads\DeOldify-master\fastai\core.py:352, in parallel(func, arr, max_workers, leave)
350 else:
351 with ProcessPoolExecutor(max_workers=max_workers) as ex:
--> 352 futures = [ex.submit(func,o,i) for i,o in enumerate(arr)]
353 results = []
354 for f in progress_bar(concurrent.futures.as_completed(futures), total=len(arr), leave=leave):
File D:\python_projects\conda_projects\deoldify\downloads\DeOldify-master\fastai\core.py:352, in <listcomp>(.0)
350 else:
351 with ProcessPoolExecutor(max_workers=max_workers) as ex:
--> 352 futures = [ex.submit(func,o,i) for i,o in enumerate(arr)]
353 results = []
354 for f in progress_bar(concurrent.futures.as_completed(futures), total=len(arr), leave=leave):
File D:\python_projects\conda_projects\envs\deoldify\lib\concurrent\futures\process.py:720, in ProcessPoolExecutor.submit(self, fn, *args, **kwargs)
718 with self._shutdown_lock:
719 if self._broken:
--> 720 raise BrokenProcessPool(self._broken)
721 if self._shutdown_thread:
722 raise RuntimeError('cannot schedule new futures after shutdown')
BrokenProcessPool: A child process terminated abruptly, the process pool is not usable anymore
I am running this on a Windows 11 workstation with a Quadro RTX 5000 (GPU 0). I followed the installation instructions carefully, successfully created the environment, and installed all required dependencies.
To provide further context, I have included the details of my cloned environment below:
Hello,
I have installed DeOldify on my Windows machine and followed the tutorial for
ImageColorizer.ipynb
without any issues. However, I am encountering an error while working through theColorizeTrainingStable.ipynb
tutorial. Specifically, the error occurs when I attempt to run the code block for “Create black and white training images.”I downloaded the dataset from Kaggle’s ImageNet Object Localization Challenge as per the instructions and made no changes to the folder structure. The paths in the Setup cell are also correctly configured. The issue arises when I run the following block of code:
Upon executing this cell, I receive the following error:
I am running this on a Windows 11 workstation with a Quadro RTX 5000 (GPU 0). I followed the installation instructions carefully, successfully created the environment, and installed all required dependencies.
To provide further context, I have included the details of my cloned environment below:
Could you please provide guidance on how to resolve this issue?
Thank you for your assistance!