The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Apply Pytorch Model in Rapidminer
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:
How would I do this? Is there something wrong with the model?
Best regards,
Enes
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
Tagged:
0
Best Answer
-
rfuentealba RapidMiner Certified Analyst, Member, University Professor Posts: 568 UnicornHello,
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.0