From ba00174e4f0c99c28658086bd757360d6f457105 Mon Sep 17 00:00:00 2001 From: whjxnyzh <1196594711@qq.com> Date: Wed, 24 Jun 2015 09:28:49 +0800 Subject: [PATCH 1/2] bug fix --- denseFlow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/denseFlow.cpp b/denseFlow.cpp index e35a48e..c7e10df 100644 --- a/denseFlow.cpp +++ b/denseFlow.cpp @@ -97,7 +97,7 @@ int main(int argc, char** argv) sprintf(tmp,"_%04d.jpg",int(frame_num)); imwrite(xFlowFile + tmp,imgX); imwrite(yFlowFile + tmp,imgY); - imwrite(image + tmp, cflow); + imwrite(imgFile + tmp, cflow); std::swap(prev_grey, grey); std::swap(prev_image, image); From 6c80b58ec88c07dd49e6e375bc7e03035ddd9feb Mon Sep 17 00:00:00 2001 From: likai <1196594711@qq.com> Date: Thu, 2 Jul 2015 22:32:32 +0800 Subject: [PATCH 2/2] delete comment --- extractOpticalFlow_gpu.m | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/extractOpticalFlow_gpu.m b/extractOpticalFlow_gpu.m index e7602d9..7cfa79e 100644 --- a/extractOpticalFlow_gpu.m +++ b/extractOpticalFlow_gpu.m @@ -1,13 +1,6 @@ function [] = extractOpticalFlow_gpu(index, device_id, type) -% path1 = '/nfs/lmwang/lmwang/Data/UCF101/ucf101_org/'; -% if type ==0 -% path2 = '/media/sdb/lmwang/data/UCF101/ucf101_flow_img_farn_gpu_step_2/'; -% elseif type ==1 -% path2 = '/media/sdb/lmwang/data/UCF101/ucf101_flow_img_tvl1_gpu_step_2/'; -% else -% path2 = '/media/sdb/lmwang/data/UCF101/ucf101_flow_img_brox_gpu_step_2/'; -% end + path1 = '/nfs/lmwang/lmwang/Data/HMDB51/hmdb51_org/';