GithubHelp home page GithubHelp logo

Error: result is empty. about facechain HOT 2 CLOSED

hasu234 avatar hasu234 commented on August 19, 2024
Error: result is empty.

from facechain.

Comments (2)

wangxingjun778 avatar wangxingjun778 commented on August 19, 2024

[] Error: result is empty. Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/gradio/routes.py", line 488, in run_predict output = await app.get_blocks().process_api( File "/usr/local/lib/python3.10/dist-packages/gradio/blocks.py", line 1431, in process_api result = await self.call_function( File "/usr/local/lib/python3.10/dist-packages/gradio/blocks.py", line 1109, in call_function prediction = await anyio.to_thread.run_sync( File "/usr/local/lib/python3.10/dist-packages/anyio/to_thread.py", line 33, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread return await future File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 807, in run result = context.run(func, *args) File "/usr/local/lib/python3.10/dist-packages/gradio/utils.py", line 706, in wrapper response = f(*args, **kwargs) File "/content/facechain/app.py", line 149, in run data_process_fn(instance_data_dir, True) File "/content/facechain/facechain/inference.py", line 24, in data_process_fn out_json_name = data_process_fn(input_img_dir) File "/content/facechain/facechain/data_process/preprocessing.py", line 335, in call exit() File "/usr/lib/python3.10/_sitebuiltins.py", line 26, in call raise SystemExit(code) SystemExit: None

When running on Colab (t4 Runtime)

Please check the mmcv-full dependency, the wheel installing method may not compatible with your env, you can use mimm install mmcv-full==1.7.0, refer to: https://colab.research.google.com/drive/1cUhnVXseqD2EJiotZk3k7GsfQK9_yJu_?usp=sharing

In addition, the cost of GPU could be about 19G, so A100(40G) or A10(24G) are recommended.

from facechain.

hasu234 avatar hasu234 commented on August 19, 2024

Alternative manual installation of mmcv-full dependency using

!pip3 install -U openmim
!mim install mmcv-full==1.7.0

has solved the issue for me with a better GPU

from facechain.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.