Info
此问题已关闭。 请重新打开它进行编辑或回答。
after the completion of offline training, how can I measure the testing time for individual sample?
1 次查看(过去 30 天)
显示 更早的评论
I have trained my ANN for fault analysis. Now i am testing it for new data and its working accurately.
But I want to measure the detection time which ANN is taking to identify the new sample???
0 个评论
回答(1 个)
Madhav Thakker
2020-9-11
Hi Ali,
You can use tic toc function to calculate the time it takes for each sample during testing. Call tic before the prediction and toc just after prediction. Make sure not to do any other processes like reading or resizing in between these commands.
Hope this helps.
3 个评论
Madhav Thakker
2020-9-16
Hi, I tried tic toc with different examples (alexnet classficiation, shallow neural network) to replicate your issue but it works as expected. The time increases as I increase the number of testing samples. Can you give more information so that I can replicate your issue?
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!