質問編集履歴
2
誤字の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -100,7 +100,7 @@
|
|
100
100
|
|
101
101
|
```
|
102
102
|
|
103
|
-
などの名
|
103
|
+
などの名詞が改行して羅列してあるテキストファイルです。
|
104
104
|
|
105
105
|
|
106
106
|
|
1
不要な個所を削除
test
CHANGED
File without changes
|
test
CHANGED
@@ -24,21 +24,21 @@
|
|
24
24
|
|
25
25
|
|
26
26
|
|
27
|
-
list_path = join("/home/user/abc/ImageSets", 'all.txt')
|
27
|
+
list_path = join("/home/user/abc/ImageSets", 'all.txt')
|
28
28
|
|
29
29
|
#all.txtの中身は以下に記述
|
30
30
|
|
31
|
-
videos = open(list_path, 'r').readlines()
|
31
|
+
videos = open(list_path, 'r').readlines()
|
32
32
|
|
33
33
|
|
34
34
|
|
35
35
|
for video in videos:
|
36
36
|
|
37
|
-
video_path = os.path.join("/home/user/abc/GroundTruth",video)
|
37
|
+
video_path = os.path.join("/home/user/abc/GroundTruth",video)
|
38
38
|
|
39
|
-
gt_path = os.path.join(video_path, 'groundtruth.txt')
|
39
|
+
gt_path = os.path.join(video_path, 'groundtruth.txt')
|
40
40
|
|
41
|
-
gt = np.loadtxt(gt_path, delimiter=',').astype(np.float64)
|
41
|
+
gt = np.loadtxt(gt_path, delimiter=',').astype(np.float64)
|
42
42
|
|
43
43
|
```
|
44
44
|
|