Skip to content

How to get to PHP code from HuggingFace "Usage" examples? #87

Open
@CViniciusSDias

Description

@CViniciusSDias

Your question

While reading your article about background removal with PHP I got to the following conclusion:

The code in python is not similar to the PHP code at all.

In Python there's a lot of manual pre-processing that is done by the AutoProcessor and the model's output is handled in a completely different way too.

So the question is: how to get to that result? How to see the Python example and make it work with TransformersPHP?

Context (optional)

No response

Reference (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions