Commit 74141b2d authored by 魏博昱's avatar 魏博昱

Update DASR.cpp

parent eb0c05ad
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
// //
// // pre-process // // pre-process
// cv::Mat image_transfomed = loadImg("4.jpg"); // cv::Mat image_transfomed = loadImg("4.jpg");
// torch::Tensor tensor_image = preProcess(image_transfomed, 1); // torch::Tensor tensor_image = preProcess(image_transfomed);
// //
// //forward // //forward
// at::Tensor output = model.forward({ tensor_image }).toTensor(); // at::Tensor output = model.forward({ tensor_image }).toTensor();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment