How to use the already trained neural network
3 次查看(过去 30 天)
显示 更早的评论
I recently used Neural Network toolbox from Matlab to train a neural network for detecting violence in movies. After training the network and obtaining a good performance I've been searching for the function that let me use the network and I can't find it. Can you help me on using the network after training it?
PS: I just want to try the network giving one input and getting an output
1 个评论
Sandeep Arora
2017-12-30
Dude, can I ask a question not related to this. How did you get the network or your script to read the screen, let alone detect violence for your data. What I need specifically is to open up a game saved on my desktop and let my neural network train on it, could you please help?
采纳的回答
Sean de Wolski
2016-1-5
编辑:Sean de Wolski
2016-1-5
y = net(x)
where net is your trained network and x is your new input.
3 个评论
Greg Heath
2016-1-6
Better yet, what are the sizes of the matrices you used for training
[ I N ] = size(input)
[ O N ] = size(target)
Then, for each I-dimensional column input test vector, x, you should get an O-dimensional column output vector y.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!