Skip to content

Commit 3c32487

Browse files
committed
add comment
1 parent 486e90b commit 3c32487

8 files changed

+65
-429
lines changed

evaluate.py

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
Evaluation
3+
Author: Wenxuan Wu
4+
Date: May 2020
5+
"""
6+
17
import argparse
28
import sys
39
import os
@@ -86,7 +92,7 @@ def main():
8692
model.load_state_dict(torch.load(pretrain))
8793
print('load model %s'%pretrain)
8894
logger.info('load model %s'%pretrain)
89-
95+
9096
model.cuda()
9197

9298
epe3ds = AverageMeter()

evaluation_utils.py

+14
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
"""
2+
Evaluation metrics
3+
Borrowed from HPLFlowNet
4+
Date: May 2020
5+
6+
@inproceedings{HPLFlowNet,
7+
title={HPLFlowNet: Hierarchical Permutohedral Lattice FlowNet for
8+
Scene Flow Estimation on Large-scale Point Clouds},
9+
author={Gu, Xiuye and Wang, Yijie and Wu, Chongruo and Lee, Yong Jae and Wang, Panqu},
10+
booktitle={Computer Vision and Pattern Recognition (CVPR), 2019 IEEE International Conference on},
11+
year={2019}
12+
}
13+
"""
14+
115
import numpy as np
216

317

models.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
PointPWC-Net model and losses
3+
Author: Wenxuan Wu
4+
Date: May 2020
5+
"""
6+
17
import torch.nn as nn
28
import torch
39
import numpy as np

pointconv_util.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
"""
2+
PointConv util functions
3+
Author: Wenxuan Wu
4+
Date: May 2020
5+
"""
6+
17
import torch
28
import torch.nn as nn
39

0 commit comments

Comments
 (0)