Giter Club home page Giter Club logo

Comments (4)

woctezuma avatar woctezuma commented on June 2, 2024

See:

from simswap.

TransAmMan avatar TransAmMan commented on June 2, 2024

See:

Can someone help me implement this fix. I use a hosted GPU runtime. This fix assumes a local run time.

from simswap.

neuralchen avatar neuralchen commented on June 2, 2024

This bug is about the timm.
We have given new installation instructions, please use the following instructions to reinstall timm:
timm==0.5.4

from simswap.

TransAmMan avatar TransAmMan commented on June 2, 2024

Thanks for your reply. I installed "timm==0.5.4" as you suggested. I tried in different places on the installation list:

!pip install timm==0.5.4

!pip install insightface==0.2.1 onnxruntime moviepy
!pip install timm==0.5.4
!pip install googledrivedownloader
!pip install imageio==2.4.1

!pip install timm==0.5.4

I used the released version of SimSwap:

https://colab.research.google.com/github/neuralchen/SimSwap/blob/main/SimSwap%20colab.ipynb#scrollTo=Y5K4au_UCkKn

and, I disconnected and deleted runtime, each time I tried. All attempts resulted in the same error:

ValueError Traceback (most recent call last)
in <cell line: 30>()
28 ## model.eval()
29
---> 30 app = Face_detect_crop(name='antelope', root='./insightface_func/models')
31 app.prepare(ctx_id= 0, det_thresh=0.6, det_size=(640,640),mode=mode)
32

5 frames
/usr/local/lib/python3.10/dist-packages/onnxruntime/capi/onnxruntime_inference_collection.py in _create_inference_session(self, providers, provider_options, disabled_optimizers)
449 if not providers and len(available_providers) > 1:
450 self.disable_fallback()
--> 451 raise ValueError(
452 f"This ORT build has {available_providers} enabled. "
453 "Since ORT 1.9, you are required to explicitly set "

ValueError: This ORT build has ['AzureExecutionProvider', 'CPUExecutionProvider'] enabled. Since ORT 1.9, you are required to explicitly set the providers parameter when instantiating InferenceSession. For example, onnxruntime.InferenceSession(..., providers=['AzureExecutionProvider', 'CPUExecutionProvider'], ...)

from simswap.

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.