Closed uBadRequest closed 3 years ago
How many files were present in that request?
There was only 305, but I have like 40 folders that contain 300~ images. I'm trying to run this against all of them. Don't want to accidentally upload an image of something that I wouldn't want to...
Reducing the number of images in a single request will solve this issue. You will have to post the images in multiple batches.
@uBadRequest please re-open if it does not work.
Describe the bug and error messages (if any)
I needed to recurse directories and after adding that, an error is occurring that states the file is too long.
Could also do it like this
**The code snippet which gave this error***
{'success': False, 'reason': "[Errno 36] File name too long: '/app/diskdisk/8_2020-11-04-17-40-53-886_50607d66-ce1b-413c-ad65-533991f2dfbc.inp/000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000.f0008512.jpg'"}
Specify versions of the following libraries I don't think the problem is with tensorflow or keras.Expected behavior
Filename not to have a bunch of 0's and cause a filename too long error.
Screenshots If applicable, add screenshots to help explain your problem.