Advertisement
lamiastella

SMPLify-X on HICO bad images $ ./bad_image_fit4.sh

Jan 13th, 2021
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.66 KB | None | 0 0
  1. [2440:2429 0:2108] 10:16:17 Wed Jan 13 [mona@goku:pts/0 +1] ~/research/code/smplify-x
  2. $ ./bad_image_fit4.sh
  3. Processing: ../../data/smplify-x/BAD_DATA_FOLDER4/images/HICO_test2015_00000471.jpg
  4. Found Trained Model: ../../data/smplify-x/vposer_v1_0/snapshots/TR00_E096.pt
  5. /home/mona/research/code/smplify-x/smplifyx/optimizers/lbfgs_ls.py:238: UserWarning: This overload of add_ is deprecated:
  6. add_(Number alpha, Tensor other)
  7. Consider using one of the following signatures instead:
  8. add_(Tensor other, *, Number alpha) (Triggered internally at /pytorch/torch/csrc/utils/python_arg_parser.cpp:882.)
  9. p.data.add_(step_size, update[offset:offset + numel].view_as(p.data))
  10. Camera initialization done after 1.1937
  11. Camera initialization final loss 395.8522
  12. Stage 000 done after 2.0787 seconds
  13. Stage 001 done after 0.9554 seconds
  14. Stage 002 done after 2.9617 seconds
  15. Stage: 60%|██████████████████████████████████████████████▊ | 3/5 [00:06<00:04, 2.03s/it]
  16. Orientation: 0%| | 0/2 [00:06<?, ?it/s]
  17. Traceback (most recent call last):
  18. File "smplifyx/main.py", line 272, in <module>
  19. main(**args)
  20. File "smplifyx/main.py", line 245, in main
  21. fit_single_frame(img, keypoints[[person_id]],
  22. File "/home/mona/research/code/smplify-x/smplifyx/fit_single_frame.py", line 439, in fit_single_frame
  23. final_loss_val = monitor.run_fitting(
  24. File "/home/mona/research/code/smplify-x/smplifyx/fitting.py", line 175, in run_fitting
  25. loss = optimizer.step(closure)
  26. File "/home/mona/research/code/smplify-x/smplifyx/optimizers/lbfgs_ls.py", line 393, in step
  27. loss, flat_grad, t, ls_func_evals = _strong_Wolfe(obj_func, x_init, t, d,
  28. File "/home/mona/research/code/smplify-x/smplifyx/optimizers/lbfgs_ls.py", line 46, in _strong_Wolfe
  29. f_new, g_new = obj_func(x, t, d)
  30. File "/home/mona/research/code/smplify-x/smplifyx/optimizers/lbfgs_ls.py", line 392, in obj_func
  31. return self._directional_evaluate(closure, x, t, d)
  32. File "/home/mona/research/code/smplify-x/smplifyx/optimizers/lbfgs_ls.py", line 251, in _directional_evaluate
  33. loss = float(closure())
  34. File "/home/mona/research/code/smplify-x/smplifyx/fitting.py", line 246, in fitting_func
  35. total_loss = loss(body_model_output, camera=camera,
  36. File "/home/mona/venv/smplifyx/lib/python3.8/site-packages/torch/nn/modules/module.py", line 727, in _call_impl
  37. result = self.forward(*input, **kwargs)
  38. File "/home/mona/research/code/smplify-x/smplifyx/fitting.py", line 434, in forward
  39. collision_idxs = self.search_tree(triangles)
  40. File "/home/mona/venv/smplifyx/lib/python3.8/site-packages/torch/nn/modules/module.py", line 727, in _call_impl
  41. result = self.forward(*input, **kwargs)
  42. File "/home/mona/venv/smplifyx/lib/python3.8/site-packages/mesh_intersection/bvh_search_tree.py", line 56, in forward
  43. return BVHFunction.apply(triangles)
  44. File "/home/mona/venv/smplifyx/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 26, in decorate_context
  45. return func(*args, **kwargs)
  46. File "/home/mona/venv/smplifyx/lib/python3.8/site-packages/mesh_intersection/bvh_search_tree.py", line 38, in forward
  47. outputs = bvh_cuda.forward(triangles,
  48. MemoryError: std::bad_alloc: cudaErrorMemoryAllocation: out of memory
  49. 20711/31772MB(smplifyx)
  50.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement