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
How to create tensor format for a CNN layer?
Friedemann
Member, University Professor Posts: 27 University Professor
I plan to explain to my students how data can be processed using CNNs. For that purpose I would like to be able to explicitly convert a dataset with pixel values of images, like the csv Version of MNIST images, into tensor data that can be processed using a CNN. Is there any way to achieve this with RapidMiner? I tried the "ExamplesToTensor" operator, but the CNN layer complains, that the tensor format is for recurrent networks and cannot be processed by the CNN layer.
Tagged:
0
Best Answer
-
Friedemann Member, University Professor Posts: 27 University ProfessorQuestion has been answered in another thread:In a nutshell:You have to specify the input shape manually! The default is set to "automatic". When switching off automatic mode a number of parameters can be set specifying how to map the data onto the tensor.Important: This approach assumes that the data is stored as a sequence of rows in the csv and to have a single line per instance. Multi-channel data is represented as a "sequence" of complete instances per channel in the same line and indicated by the "depth" parameter of the input shape.
0