pokeGAN icon indicating copy to clipboard operation
pokeGAN copied to clipboard

File Not Found error

Open ahuja-gautam opened this issue 5 years ago • 2 comments

I called python RGBA2RGB.py after calling python resize.py but it is showing this error. Any idea why?

Traceback (most recent call last):
  File "RGBA2RGB.py", line 16, in <module>
    png.save(os.path.join(dst,each.split('.')[0] + '.jpg'), 'JPEG')
  File "C:\Users\Gautam\Anaconda3\lib\site-packages\PIL\Image.py", line 1932, in save
    fp = builtins.open(filename, "w+b")
FileNotFoundError: [Errno 2] No such file or directory: './resized_black/0.jpg'

ahuja-gautam avatar Jun 29 '19 07:06 ahuja-gautam

我新建了一个resized_black之后就没有报错了

1993cathyzhao1993 avatar Aug 13 '19 11:08 1993cathyzhao1993

just exec mkdir resized_black from root dir

0m15 avatar Nov 04 '19 14:11 0m15