Extract Image Features for regression
2 ビュー (過去 30 日間)
古いコメントを表示
Hello,
I have converted MobileNet to a regression Model by replacing relevant layers. Training and testing were successfully done and x,y coordinates of keypoints of interest are predicted.
Now I am trying to extract features of the trained network for prediction
layer='regressionoutput'
featuresTrain = activations(BodyEstimate,Train,layer,"OutputAs","rows")
featuresTest = activations(BodyEstimate,Test,layer,'OutputAs','rows')
whos featuresTrain
The code returns 'featresTrain' as 3011x2 single (2 is related to x,y ccordinates). I have been unsuccessful to fit a regression model using the following code:
regressor=fitrauto(featuresTrain,Y)
How should I prepare 'Response data' in 'Y', conseidering that responses are x,y coordinates of keypoints in images?
Thanks
2 件のコメント
Shashank Gupta
2021 年 5 月 26 日
Hi,
Help me understand few things, I am assuming it is supervised problem where you have the information of coordinates of keypoints in images, So what is stopping you to prepare the response data. I am trying to understand the difficulty in preparation. Also you mentioned, you changed some layers for MobileNet model and then train and test it, what exactly you train? what is the response data you used to train that model. It is unclear and not trivial for me to make any assumption or understand it. Help me understand it.
Cheers.
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Gaussian Process Regression についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!