Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for python 3 #12

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

wecacuee
Copy link

@wecacuee wecacuee commented Feb 7, 2020

I was able to run the latest version with python 3 using @moshanATucsd trained model.

(py35) vdhiman@dwarf:~/.../StarMap-xingyizhou/tools$ python EvalViewPoint.py ../exp/Pascal3DTEST/preds.pth                             
==> initializing pascal3d val data.                                                                                           
Loaded Pascal3D val 2113 samples                                                                                              
Eval |#####################           | [1436/2113]|Total: 0:00:12 | ETA: 0:00:06 | Acc_10: 0.489214 | Acc_30: 0.828114/home/vdhiman/wr
k/orcvio-frontend/src/StarMap-xingyizhou/tools/../lib/starmap/utils/horn87.py:32: ComplexWarning: Casting complex values to real discar
ds the imaginary part                                                                                                         
  return R.astype(np.float32), t.astype(np.float32), s                                                                        
Eval |################################| [2112/2113]|Total: 0:00:17 | ETA: 0:00:01 | Acc_10: 0.478467 | Acc_30: 0.813535                
|        |aeroplane|bicycle |boat    |bottle  |bus     |car     |chair   |diningtable|motorbike|sofa    |train   |tvmonitor| Mean |
|--------|--------|--------|--------|--------|--------|--------|--------|--------|--------|--------|--------|--------|--------|
| Acc10  |0.4764  |0.2627  |0.1336  |0.5339  |0.8831  |0.7045  |0.4467  |0.1429  |0.3088  |0.5128  |0.6283  |0.3874  |0.4785 |
| Acc30  |0.8255  |0.8305  |0.4784  |0.9004  |0.9805  |0.9123  |0.7869  |0.4286  |0.8603  |0.9231  |0.7876  |0.8198  |0.8135 |
| Mid    |  10.84 |  14.73 |  30.56 |   9.48 |   3.56 |   6.09 |  11.48 |  32.00 |  13.69 |   9.97 |   6.88 |  13.07 |  10.55|
(py35) vdhiman@dwarf:~/.../StarMap-xingyizhou/tools$ 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant