Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small issue [BUG] #547

Open
pinballelectronica opened this issue Jul 4, 2024 · 1 comment
Open

Small issue [BUG] #547

pinballelectronica opened this issue Jul 4, 2024 · 1 comment
Labels

Comments

@pinballelectronica
Copy link

This particular image size seems to get balked at. I thought maybe some confusing EXIF date may have been the culprit but after clearing it the problem continued. It doesn't work with other from I could consider "odd" aspect ratio images . 2268x4432 seems specifically to be the problem. Rounding error? No other images that I've run cause this problem.

I just realized when dumping the config that I'm using CPU instead of GPU (I have a GPU)- it's crazy fast either way, I just assumed! I have a powerful machine but still...I9-12900, 128gb. Now I'm wondering if it's some sort of FP problem? If I resize the H to 1080 and let it scale out the problem stops occurring.

{
"host": "127.0.0.1",
"port": 8080,
"inbrowser": false,
"model": "lama",
"no_half": false,
"low_mem": false,
"cpu_offload": false,
"disable_nsfw_checker": false,
"local_files_only": false,
"cpu_textencoder": false,
"device": "cpu",
"input": null,
"output_dir": null,
"quality": 95,
"enable_interactive_seg": false,
"interactive_seg_model": "vit_b",
"interactive_seg_device": "cpu",
"enable_remove_bg": false,
"remove_bg_model": "briaai/RMBG-1.4",
"enable_anime_seg": false,
"enable_realesrgan": false,
"realesrgan_device": "cpu",
"realesrgan_model": "realesr-general-x4v3",
"enable_gfpgan": false,
"gfpgan_device": "cpu",
"enable_restoreformer": false,
"restoreformer_device": "cpu"
}

io-tmp

2024-07-04 05:04:04.939 | INFO | iopaint.schema:validate_field:400 - Generate random seed: 46969563
INFO: 127.0.0.1:56551 - "POST /api/v1/inpaint HTTP/1.1" 400 Bad Request
INFO: 127.0.0.1:56551 - "POST /api/v1/gen-info HTTP/1.1" 200 OK
2024-07-04 05:04:09.085 | INFO | iopaint.schema:validate_field:400 - Generate random seed: 45252269
2024-07-04 05:04:09.219 | INFO | iopaint.model.base:call:97 - Run crop strategy
2024-07-04 05:04:10.881 | INFO | iopaint.api:api_inpaint:272 - process time: 1661.75ms
INFO: 127.0.0.1:56551 - "POST /api/v1/inpaint HTTP/1.1" 200 OK

Describe the bug
A clear and concise description of what the bug is.

Screenshots
If applicable, add screenshots to help explain your problem.

System Info
Software version used

  • iopaint:
  • pytorch:
  • CUDA:
Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant