Skip to content

Instantly share code, notes, and snippets.

View xinshuoweng's full-sized avatar
🏠
Working from home

Xinshuo Weng xinshuoweng

🏠
Working from home
View GitHub Profile
@xinshuoweng
xinshuoweng / Chamfer_Distance_Pytorch.py
Created April 23, 2019 14:04 — forked from WangZixuan/Chamfer_Distance_Pytorch.py
Use Pytorch to calculate Chamfer distance
import torch
def chamfer_distance_without_batch(p1, p2, debug=False):
'''
Calculate Chamfer Distance between two point sets
:param p1: size[1, N, D]
:param p2: size[1, M, D]
:param debug: whether need to output debug info
dqn
240w_iter
epsilon greedy policy while testing
dueling dqn
240w_iter
epsilon greedy policy while testing
double dqn
290w_iter
epsilon greedy policy while testing
dqn
240w_iter
epsilon greedy policy while testing
double dqn
190w_iter
epsilon greedy policy while testing
dueling dqn
240w_iter
epsilon greedy policy while testing
double dqn
290w_iter
epsilon greedy policy while testing
dqn
160w_iter
epsilon greedy policy while testing
dqn
80w_iter
epsilon greedy policy while testing