🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Apply Pytorch Model in Rapidminer

User: "Enes_A"
New Altair Community Member
Updated by Jocelyn
Hey guys, 

I implemented a Pytorch Model and trained it and now i want to apply this model in Rapidminer. Is this possible?
When i retrieve the model and try to apply it with the "Apply Model"-Operator I get the following error message:

"Your connection is producing the wrong type of data. Try changing the starting point of the connection."

When I look at the logs, this is the error message:
Aug 8, 2021 12:06:37 PM SEVERE: Process failed: Wrong input of type 'File' at port 'model'. Expected type 'Model'. 

How would I do this? Is there something wrong with the model?

Best regards,

Enes

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "rfuentealba"
    New Altair Community Member
    Accepted Answer
    Hello,

    Pytorch models are created from Python, therefore you'll need the Python extension for RapidMiner, rather than using the "Apply Model" operator (that is created for RapidMiner models).

    With the Python extension you have an operator named "Execute Python" that you can use to actually write Python code that applies your model. Your Python interpreter needs pandas to read information from RapidMiner and write to it, and all the libraries you need for your model.

    All the best,

    Rod.