File Manager icon File Manager Displays files currently open for reading by scripts, shows only read-opened files, helps diagnose read/write locks and file access errors. Try it →
Asked
Hugging Face Model Not Supported

Hugging Face Model Not Supported

I have a question about the ARC "Hugging Face" Robot Skill.

I set up the API as instructed. I'm using a USB webcam (connected directly to the PC running ARC) and enabled "face" and "motion" tracking. I tried the first example from the Hugging Face Skill documentation, but all I get is this error:

enabled.","type":"invalid_request_error","param":"model","code":"model_not_supported"}}
20:55:27 Error: HTTP 400 from Hugging Face. {"error":{"message":"The requested model 'Qwen/Qwen2.5-VL-7B-Instruct' is not supported by any provider you have enabled.","type":"invalid_request_error","param":"model","code":"model_not_supported"}}

What am I missing?



Related Hardware (view all EZB hardware)
EZ-B V4 by EZ-Robot
EZ-B v4/2 robot controller: dual Cortex ARM, Wi-Fi, audio/video, 24 servo/digital ports, I2C/UART, camera and Synthiam ARC control for custom robots
Wi-Fi / USB
Servos 24
Camera
Audio
UART 3
I2C
ADC 8
Digital 24

Related Robot Skills (view all robot skills)
Camera Device by Synthiam
Use PC or robot cameras for vision tracking: color, QR, glyph, face, object, motion; record video/data, control servos and movement, run scripts
Hugging Face by Hugging Face Inc
Connects your robot camera to Hugging Face AI models for vision chat, object tracking, classification, captioning, and autonomous movement.

ARC Pro

Upgrade to ARC Pro

Stay at the forefront of robot programming innovation with ARC Pro, ensuring your robot is always equipped with the latest advancements.

Author Avatar
PRO
Canada
Twitter YouTube GitHub
#9  

Absolutely - let’s break this into three clean steps and keep each test isolated so we can find the exact failure point.


1) Known-good ARC camera + Hugging Face test setup

This is the best first test because it removes extra variables.

Goal

Confirm that:

  • your USB webcam works in ARC
  • the Camera Device skill can stream video
  • the Hugging Face skill can read one camera frame

Steps

A. Create a new project

  1. Open ARC
  2. Create a new blank project

B. Add only the Camera Device skill

  1. Go to Project Add Robot Skill
  2. Add Camera Camera Device

C. Configure the webcam

  1. Open the Camera Device skill
  2. Select your USB webcam from the device list
  3. Choose a supported resolution like:
    • 320x240 or
    • 640x480 if the camera supports it
  4. Press Start

You should see the live camera image.

D. Add the Hugging Face skill

  1. Go to Project Add Robot Skill
  2. Add Artificial Intelligence Hugging Face

E. Configure Hugging Face

  1. Open the kebab menu / gear menu on the Hugging Face skill
  2. Go to the Hugging Face tab
  3. Enter your Hugging Face access token
  4. For now, test with Object Detection first, not Vision Chat
  5. Use the default model for Object Detection
  6. Press Save

F. Query once

  1. In the Hugging Face skill, press Query Now

What should happen

  • The skill should process a frame from the camera
  • You should see results in the log
  • If a person is in view, it should detect them

Important

If you still get:

  • Attempting to read GetCurrentBitmapManaged while locked

that usually means:

  • the camera is being accessed by something else, or
  • another vision skill is also trying to read it

So for this test, make sure only Camera Device + Hugging Face are in the project.


2) Face-tracking setup using Camera Device skill with pan/tilt

This is the correct setup if you want the camera to physically follow a person.

Goal

Use the camera to detect a person and move pan/tilt servos.


A. Add Camera Device

If not already added:

  1. Add Camera Device
  2. Start the webcam

B. Add pan/tilt servos

You need two servos connected to the EZ-B:

  • pan servo
  • tilt servo

Typical ports:

  • pan on D0
  • tilt on D1

(You can use different ports if needed.)


C. Add a servo control skill

If you want manual servo testing first:

  1. Add Auto Position or Servo skill
  2. Test that both servos move correctly

This is important before using tracking.


D. Configure Camera Tracking

  1. Open the Camera Device skill
  2. Go to the Tracking tab
  3. Enable Object Tracking
  4. On the Camera Tracking or Servo Tracking section:
    • assign the pan servo
    • assign the tilt servo
  5. Set tracking for person if available in the object detection mode
  6. Adjust:
    • invert if movement is backward
    • deadband if it jitters
    • movement speed if it moves too fast

E. Start the camera and test

  1. Press Start on Camera Device
  2. Let a person appear in the camera view
  3. Watch whether the camera follows the person

Best practice

For face-following, Object Detection is usually better than Vision Chat.

If you want it to track faces specifically, note:

  • Face Tracking in Camera Device can work for simpler detection
  • Object Detection with the label person is often more practical for follow behavior

3) Checking your Hugging Face token / provider settings step-by-step

This is the most likely reason for your model_not_supported error.

What ARC needs

ARC only needs:

  • a valid Hugging Face token
  • a model that is available through an enabled provider

If Hugging Face says the model is not supported, it usually means the account/provider side needs adjustment.


A. Verify the token

  1. Sign in to Hugging Face
  2. Go to your token page:
  3. Confirm your token:
    • exists
    • is not expired
    • is copied exactly into ARC
  4. In ARC, paste it into the Hugging Face skill and save

Tip

Use a read token unless the skill documentation says otherwise.


B. Check if the model is gated

Some models require you to accept terms before use.

  1. Go to the model page on Hugging Face
  2. Look for an Agree and access / Request access / Accept terms button
  3. If present, accept the model terms while logged in

This is especially important for vision models.


C. Check provider availability

Your error says:

not supported by any provider you have enabled

That means your account may not have an enabled inference provider for that model.

What to look for

On Hugging Face, check:

  • billing / inference / provider-related settings
  • whether you’re using the free serverless option
  • whether the chosen model is actually hosted by that service

Practical advice

If a model gives model_not_supported, try a model that is:

  • smaller
  • more common
  • explicitly supported by serverless inference

But even then, provider support can vary over time.


D. Try the model page directly

To confirm whether Hugging Face can serve it at all:

  1. Open the model page in Hugging Face
  2. Look for an Inference / Playground / Try it out area
  3. If the model can’t run there either, the issue is definitely on the Hugging Face side

Recommended order to test

Do these in this order:

Test 1 - Camera only

  • Camera Device skill
  • webcam starts successfully

Test 2 - Camera + Object Detection

  • add Hugging Face
  • use Object Detection
  • press Query Now

Test 3 - Vision Chat

  • only after Test 2 works
  • then try Vision Chat with a supported vision model

Why you’re seeing two errors

model_not_supported

This is Hugging Face saying the model is not available through your enabled provider.

GetCurrentBitmapManaged while locked

This is ARC’s camera image being accessed while another process is already using it.

That usually means the project needs to be simplified before testing.


Useful links


Quick question

Would you like me to give you:

  1. a very exact click-by-click setup for Camera Device + Object Detection, or
  2. a click-by-click setup for pan/tilt face tracking?

If you want, I can also help you inspect the Hugging Face model page and token settings one screenshot at a time.

I am a customer support AI and still learning. Please verify important answers in our support documentation. For advanced AI features, use the AI Script Agent built into ARC.
#10  

So I started with the 3 clean steps as suggested. Happy to report that everything worked. looked like opening a whole new project was best idea, along with latest huggingface update. I tried the object detection and face detection, and HF was able to report back what it was seeing.

I would like the click-by-click setup for the pan/tilt face tracking:)

Author Avatar
PRO
Canada
Twitter YouTube GitHub
#11  

Great - that narrows it down nicely. Since the clean project worked, the earlier issue was almost certainly a project/camera-lock conflict, and the latest Hugging Face update helped too.

Let’s set up pan/tilt face tracking in ARC step by step.

What you need

  • Camera Device skill
  • 2 servos for pan and tilt
  • Hugging Face running in Object Detection mode
  • A camera view with a person in it

Click-by-click pan/tilt face tracking setup

1) Add and test the servos first

Before camera tracking, make sure the servos move manually.

Add a servo control

  1. In ARC, go to Project
  2. Select Add Robot Skill
  3. Add a servo skill such as:
    • Auto Position, or
    • Servo
  4. Assign:
    • Pan servo to one port, for example d0
    • Tilt servo to another port, for example d1

Test movement

  1. Move the pan servo a little left/right
  2. Move the tilt servo up/down
  3. If a servo moves backward, note that - we’ll fix it with Invert later

If you already have a servo skill set up, you can skip this part.


2) Open the Camera Device skill

  1. Open your Camera Device skill
  2. Make sure the webcam is selected
  3. Press Start
  4. Confirm you can see live video

3) Enable Object Detection

For face/person following, use Object Detection.

  1. In the Camera Device skill, go to the Tracking tab
  2. Enable Object Tracking
  3. Make sure other tracking types are not competing while testing
  4. If the skill gives you a list of labels, use person as the target

If you want the robot to follow a face specifically, the detection usually still works best as person.


4) Assign pan and tilt servos

  1. In the Camera Device skill, go to the Servo Tracking section
  2. Enable Servo Tracking
  3. Assign the pan servo to horizontal tracking
  4. Assign the tilt servo to vertical tracking

Typical setup:

  • Pan = left/right motion
  • Tilt = up/down motion

If there’s an option for relative tracking versus absolute tracking:

  • Start with relative tracking if you want smoother centering behavior
  • Use absolute tracking only if you have a specific reason

5) Set movement direction correctly

This is very important.

If the camera moves the wrong way:

  • check Invert on the pan servo
  • check Invert on the tilt servo

Examples:

  • If the face moves left but the camera turns right, invert pan
  • If the face moves up but the camera tilts down, invert tilt

6) Set tracking behavior

Now tune the motion so it doesn’t jitter.

Look for these settings in the camera tracking section:

  • Movement speed: start low or medium
  • Deadband: increase this a little if the servos hunt back and forth
  • Min/Max limits: keep servo motion safely within the physical range

A good starting point:

  • speed: small to medium
  • deadband: moderate
  • min/max: the safe range for your mechanism

7) Start tracking

  1. Leave the Camera Device skill running
  2. Make sure a person is visible in the camera
  3. Watch the servos move to center the person
  4. If it overshoots, reduce speed
  5. If it jitters, increase deadband

Suggested simple starting settings

Use these as a baseline:

  • Camera Device: running
  • Tracking mode: Object Detection
  • Target label: person
  • Servo Tracking: enabled
  • Pan servo: assigned
  • Tilt servo: assigned
  • Invert: only if needed
  • Speed: low to medium
  • Deadband: moderate

Common fixes

If the servos do nothing

  • confirm the servo skill is added
  • confirm the correct ports are selected
  • confirm the servos have power
  • confirm the Camera Device is actually detecting a person

If the servos move the wrong way

  • invert pan or tilt

If the servos jitter

  • increase deadband
  • lower movement speed
  • improve lighting

If tracking is slow

  • use a lower camera resolution like 320x240
  • make sure only one camera-processing skill is using the webcam

Helpful ARC references


If you want, I can do the next step as a literal click-by-click guide for your exact layout:

  1. where to click in Camera Device, or
  2. how to wire and configure the pan/tilt servos in ARC

If you share a screenshot of your Camera Device skill tracking tab, I can mark exactly what to set.

I am a customer support AI and still learning. Please verify important answers in our support documentation. For advanced AI features, use the AI Script Agent built into ARC.