made a few fixes
This commit is contained in:
parent
67123bb970
commit
ec2a98b843
5 changed files with 52 additions and 30 deletions
|
@ -1,7 +1,7 @@
|
|||
from __future__ import division
|
||||
|
||||
import os, sys
|
||||
import seaborn
|
||||
# import seaborn
|
||||
from pylab import rcParams
|
||||
import cv2
|
||||
|
||||
|
@ -203,11 +203,11 @@ class Parallax2Dto3DMapping(Experiment):
|
|||
|
||||
aae_3ds_aae.append((AAE, STD))
|
||||
aae_3ds_phe.append((PHE, PHE_STD))
|
||||
|
||||
|
||||
# results only contains AAE
|
||||
results.append([np.mean(np.array(aae_2ds_aae)[:,0]), np.mean(np.array(aae_3ds_aae)[:,0]), np.mean(np.array(aae_3D3Ds)[:,0])])
|
||||
results_std.append([np.std(np.array(aae_2ds_aae)[:,0]), np.std(np.array(aae_3ds_aae)[:,0]), np.std(np.array(aae_3D3Ds)[:,0])])
|
||||
|
||||
######################################################################################################
|
||||
# plot code based on EffectNumberofClusters.py
|
||||
mean2D2D = [res[0] for res in results]
|
||||
|
@ -272,6 +272,7 @@ class Parallax2Dto3DMapping(Experiment):
|
|||
plt.subplots_adjust(left=left, bottom=bottom, right=right, top=top, wspace=wspace, hspace=hspace)
|
||||
plt.show()
|
||||
######################################################################################################
|
||||
self.sim = sim
|
||||
|
||||
class Parallax3Dto3DMapping(Experiment): # GT pupil pose instead of estimating the pose
|
||||
def __run__(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue