Unable to load datasets
이전 댓글 표시
Hello guys.
I have a program coding which I found in the Internet. To run the program, it needs to load datasets. But in the coding, the writter load the zip file of the datasets (.gz file for Linux).
I'm having a problem because I have the datasets but already in the unzip file (because I'm using Windows).
So anyone can help me modify the coding to load the datasets?
I have try few ways, but still get error.
I hope that there's anyone that can help me.
Thank you.
댓글 수: 5
Walter Roberson
2019년 3월 19일
It is not easy to help without seeing the code that does the loading at the moment.
Mohamad Afiq
2019년 3월 20일
Mohd Shah Rizal SAMSUDIN
2020년 7월 20일
Hello Mohamad, the dtf_file above was written in binary file. You need to process the raw video into low-level feature extraction (for this case is IDT). Unfortunately, for this process, you cannot use matlab, however, I already share all the process in here (https://baitulaadiyat.blogspot.com/2020/07/dense-trajectory-and-improve-dense.html).
After you successfully, get the biinary files then you can proceed on matlab process.
Many Thanks.
Walter Roberson
2020년 7월 20일
I see no reason at the moment to expect that the original Question had anything to do with Dense Trajectory ??
Mohd Shah Rizal SAMSUDIN
2020년 8월 25일
@Walter Roberson, absolutely correct.
Change this part:
switch file_type
case 'train'
tt_list_dir=params.train_list_dir;
reg_pattern='train*';
case 'test'
tt_list_dir=params.test_list_dir;
reg_pattern='test*';
otherwise
error('Unknown file pattern!');
end
into
switch file_type
case 'train'
tt_list_dir=params.train_list_dir;
reg_pattern='train/*.txt'; % it will be list down all the .txt file (not .avi) that you downloaded from UCF101 Improve IDT Train data.
case 'test'
tt_list_dir=params.test_list_dir;
reg_pattern='test/*.txt';
otherwise
error('Unknown file pattern!');
end
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Subspace Methods에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!