Comments (4)
Can you post the call stack of the error and help me locate the problem?
from iopaint.
I restarted the server and it seems to have fixed it? At least for lama mode, I'm trying ldm mode right now and will let you know if it wasnt just a one time thing
from iopaint.
[2022-06-27 02:01:54,912] ERROR in app: Exception on /inpaint [POST]
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.7/dist-packages/flask_cors/extension.py", line 165, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.7/dist-packages/flask/_compat.py", line 39, in reraise
raise value
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functionsrule.endpoint
File "/usr/local/lib/python3.7/dist-packages/lama_cleaner/server.py", line 111, in process
res_np_img = model(image, mask, config)
File "/usr/local/lib/python3.7/dist-packages/lama_cleaner/model_manager.py", line 33, in call
return self.model(image, mask, config)
File "/usr/local/lib/python3.7/dist-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/lama_cleaner/model/base.py", line 93, in call
inpaint_result = self._pad_forward(image, mask, config)
File "/usr/local/lib/python3.7/dist-packages/lama_cleaner/model/base.py", line 45, in _pad_forward
result = self.forward(padd_image, padd_mask, config)
File "/usr/local/lib/python3.7/dist-packages/torch/autocast_mode.py", line 12, in decorate_autocast
return func(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/lama_cleaner/model/ldm.py", line 297, in forward
steps=steps, conditioning=c, batch_size=c.shape[0], shape=shape
File "/usr/local/lib/python3.7/dist-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/lama_cleaner/model/plms_sampler.py", line 85, in sample
self.make_schedule(ddim_num_steps=steps, ddim_eta=eta, verbose=verbose)
File "/usr/local/lib/python3.7/dist-packages/lama_cleaner/model/plms_sampler.py", line 41, in make_schedule
eta=ddim_eta, verbose=verbose)
File "/usr/local/lib/python3.7/dist-packages/lama_cleaner/model/utils.py", line 32, in make_ddim_sampling_parameters
alphas = alphacums[ddim_timesteps]
IndexError: index 1000 is out of bounds for dimension 0 with size 1000
from iopaint.
Hmm, now it seems to be working. Very odd...
from iopaint.
Related Issues (20)
- [Feature Request] Add Zits-PlusPlus model
- [Image watermark target detectiont] HOT 1
- The Lama model cannot be automatically downloaded from the folder where SD is located
- network error HOT 4
- I can not see someting in interface ,when I search http://localhost:8080 HOT 8
- [BUG] Python run script error in Development HOT 1
- [Feature Request] Speed up the windows installer download speed HOT 2
- [BUG] cudatoolkit-Downloaded bytes did not match Content-Length HOT 6
- Pillow>=10.0.0, but you have pillow 9.5.0 which is incompatible.
- [BUG] Windows 1-click Installer "ImportError: cannot import name 'deprecated' from 'typing_extensions' " HOT 1
- Getting Error While Starting PowerPaint V2 HOT 5
- [Feature Request] PowerPaint v2-1
- [BUG] error network pls
- [BUG] outpainting边缘羽化的问题, 没有使用羽化的mask
- Call the package from own python script
- How to use lama and powerpaint together? HOT 2
- malware found inside - cond_stage_model_decode.pt - Real or FP? HOT 2
- [BUG]ModuleNotFoundError: No module named '_lzma'
- A gradio demo on Huggingface Spaces
- [BUG] Stable Diffusion 2 (sd2): "Something went wrong fetch error"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iopaint.