Open ghost opened 5 years ago
Can you check 'save_img' function's 'screensshot' input?
you mean debug the program? not sure how i can check the input 😅 we can discord(like skype) if you'd like so you can see exactly what i'm doing... if you have time this weekend or something..
On Thu, Apr 4, 2019 at 6:30 PM Arda Mavi notifications@github.com wrote:
Can you check 'save_img' function's 'screensshot' input?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ardamavi/Game-Bot/issues/9#issuecomment-479946184, or mute the thread https://github.com/notifications/unsubscribe-auth/AdPeZFF8VeaCkLdWK11ogNJHyAH_Ww_Gks5vdhp5gaJpZM4cbINR .
I know what is the error:
Open file get_dataset.py and go to line 15
change from imsave(path, img) to imsave(img, path)
My discord account is kawal.52925#2272
added you on discord. now getting this error: https://pastebin.com/c0E23EWJ
cheers, yawik
On Fri, Apr 5, 2019 at 5:32 AM kawal7415 notifications@github.com wrote:
I know what is the error:
Open file get_dataset.py and go to line 15
change from imsave(path, img) to imsave(img, path)
My discord account is kawal.52925#2272
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ardamavi/Game-Bot/issues/9#issuecomment-480128377, or mute the thread https://github.com/notifications/unsubscribe-auth/AdPeZE-098emzHjQY6gjS1iXGWuAMtozks5vdrW_gaJpZM4cbINR .
change the imsave but got this error now:
File "C:\Users\User\AppData\Roaming\Python\Python36\site-packages\PIL\Image.py", line 1989, in save raise ValueError('unknown file extension: {}'.format(ext)) ValueError: unknown file extension:
I would suggest replacing imsave and imread to imageio lib correspondent functions as suggested by scipy docs as the scipy.misc image related functions are deprecated. (It also gives a suggestion to replace imageresize)
I have the same problem. Do you have new updates on this issue?
I am too busy at these times, I cannot support this project.
I am too busy at these times, I cannot support this project.
This is a good project, I hope it will be updated soon
Um so when u change the imsave(path, img) to imsave(img, path) it now doesnt know what format u want the img to be... as im currently debugging this code... i used imsave(img + '.jpg', path) and that seems to work but im not sure if this is the proper fix...ive also resorted to using imageio.imsave(img + '.jpg', path)
tried running it after the last fix...getting this now :/ i really want this to work!