Closed rohit7044 closed 1 year ago
So, I thought about changing to rendered_images_erode
to cuda but the results are blank images and CUDA shutdown.
Here is the error
test_multipose.py:165: DeprecationWarning: `np.float` is a deprecated alias for the builtin `float`. To silence this warning, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
rotated_landmarks = data['rotated_landmarks'][:, :, :2].cpu().numpy().astype(np.float)
test_multipose.py:166: DeprecationWarning: `np.float` is a deprecated alias for the builtin `float`. To silence this warning, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
rotated_landmarks_106 = data['rotated_landmarks_106'][:, :, :2].cpu().numpy().astype(np.float)
process image..../results/rs_model\example\orig\yaw_0.0_Images\Ann_Veneman_0010.jpg
processed num 1
process image..../results/rs_model\example\orig\yaw_1.57_Images\Ann_Veneman_0010.jpg
processed num 2
(************* each image time total: 71.395 *****************)
(************* each image render time: 22.617 *****************)
C:\ProgramData\Anaconda3\envs\thesis\lib\site-packages\skimage\transform\_geometric.py:158: RuntimeWarning: divide by zero encountered in divide
scale = 1.0 / src_demean.var(axis=0).sum() * (S @ d)
process image..../results/rs_model\example\orig\yaw_0.0_Images\Benjamin_Netanyahu_0005.jpg
processed num 3
process image..../results/rs_model\example\orig\yaw_1.57_Images\Benjamin_Netanyahu_0005.jpg
processed num 4
(************* each image time total: 22.912 *****************)
(************* each image render time: 28.006 *****************)
cannot convert float NaN to integer
[W C:\actions-runner\_work\pytorch\pytorch\builder\windows\pytorch\torch\csrc\CudaIPCTypes.cpp:15] Producer process has been terminated before all shared CUDA tensors released. See Note [Sharing CUDA tensors]
[W CUDAGuardImpl.h:46] Warning: CUDA warning: driver shutting down (function uncheckedGetDevice)
[W CUDAGuardImpl.h:62] Warning: CUDA warning: invalid device ordinal (function uncheckedSetDevice) ```
I tried converting vertices_in_ori_img
or rendered_images_erode
to CPU and cuda. But unfortunately the problem still persists.
Anybody faced the same problem?
I have the same issue.
Hello everyone, I am trying to run this code on single GPU and after following the parameters mentioned #14 , I am getting this error.