Skip to content

Instantly share code, notes, and snippets.

@erikfrey
Created November 8, 2017 00:01
Show Gist options
  • Save erikfrey/f247a0437862d444b06d895b917a86dd to your computer and use it in GitHub Desktop.
Save erikfrey/f247a0437862d444b06d895b917a86dd to your computer and use it in GitHub Desktop.
visualization not supported
visualization not supported
visualization not supported
visualization not supported
Loading ../models/model_ho_female_5_reduced.pkl
MODEL model_ho_female_5_reduced
GENDER female
loading ../MPI-FAUST/test/scans/test_scan_033.ply
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/scipy/sparse/coo.py:200: VisibleDeprecationWarning: `rank` is deprecated; use the `ndim` attribute or function instead. To find the rank of a matrix see `numpy.linalg.matrix_rank`.
if np.rank(self.data) != 1 or np.rank(self.row) != 1 or np.rank(self.col) != 1:
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/scipy/sparse/compressed.py:130: VisibleDeprecationWarning: `rank` is deprecated; use the `ndim` attribute or function instead. To find the rank of a matrix see `numpy.linalg.matrix_rank`.
if np.rank(self.data) != 1 or np.rank(self.indices) != 1 or np.rank(self.indptr) != 1:
PBP Iter 0
Setting schedule with node 3 as root (torso is node 3 in the body model)
time for messages: 0.38440322876
mapParticleInd:
[ 9 24 11 20 11 21 -1 20 23 22 3 16 20 21 -1 13 21 -1 19]
0 time to run DPMP step: 3.34861087799
iter 0 logPos= -0.641098887973 logL= -0.582533367215 logP= -0.0585655207582
0: -0.641098887973
PBP Iter 1
Traceback (most recent call last):
File "dpmp_3D.py", line 238, in <module>
run(nParticles, nSteps, faustId, isTest, params, code, 0)
File "dpmp_3D.py", line 184, in run
logB[s] = run_DPMP_step(d, s)
File "/Users/erikfrey/Downloads/sp/code/run_dpmp_step.py", line 72, in run_DPMP_step
augmentTypes = sample_particles.sample_particles(dpmp, augment_type)
File "/Users/erikfrey/Downloads/sp/code/sample_particles.py", line 68, in sample_particles
proposedParticle, movedType = funDict[proposal_type](this, v, this.b[v]['x'], p_i)
File "/Users/erikfrey/Downloads/sp/code/sample_particles.py", line 210, in sample_from_nbr
proposedParticle = particles.set_pose_params(this.particleIdx[b], proposedParticle, r, T)
File "/Users/erikfrey/Downloads/sp/code/particles.py", line 129, in set_pose_params
x[idx['rIdx']] = r;
ValueError: shape mismatch: value array of shape (3,1) could not be broadcast to indexing result of shape (3,)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment