Open SnezhovSD opened 3 months ago
This error may occur due to incompatible library versions or incorrect import order. Here are a few steps you can try to solve the problem:
!pip install --upgrade scikit-image
Restart the runtime: After updating the library, restart the runtime for the changes to take effect.
Check that the import is correct: Make sure that you are importing modules correctly and that there are no cyclic dependencies in your code.
Use an alternative solution: If the problem persists, try using another method from sk image.measure that performs similar tasks without calling _marching_cubes_classic_cycle.
If these steps don't help, try installing a specific version of scikit-image that definitely worked before.:
!pip install scikit-image==0.18.3
After completing these steps, restart the runtime and check if the error has been resolved.
An error may also come out:
Stable diffusion model failed to load ERROR: Exception in ASGI application Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/uvicorn/protocols/websockets/websockets_impl.py", line 225, in run_asgi
An error loading the Stable Diffusion model can be caused by a number of reasons, including incompatibility of library versions or dependency problems. You need to make sure that all the necessary dependencies are installed correctly and compatible with each other.
Here are the steps you can try to fix this error:
!pip install torch torchvision torchaudio fastapi uvicorn gradio
Download the Stable Diffusion model: Make sure that you have access to the model and it loads correctly. If you are using a specific repository or script, follow its instructions for installing dependencies.
Check the configuration of your application: Make sure that your Fast AVI or Radio application is configured correctly and does not contain errors.
Restart the runtime environment: Restarting the runtime can help clear up any temporary conflicts or errors.
Problem: When running Stable Diffusion AUTOMATIC 1111 in the Google Collab environment, an import error occurs:
I believe that the error indicates that it is not possible to import the function
_marching_cubes_classic_cy
from the modulesk image.measure'. Most likely, this is caused by cyclic import inside the
sk image.measure` module.The Python version in Google Colab: 3.10.12 Version scikit-image: 0.23.2
Need help solving this error, thanks in advance