Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (base) mona@mona:~/neural_renderer$ grep -ri assert
- neural_renderer/vertices_to_faces.py: assert (vertices.ndimension() == 3)
- neural_renderer/vertices_to_faces.py: assert (faces.ndimension() == 3)
- neural_renderer/vertices_to_faces.py: assert (vertices.shape[0] == faces.shape[0])
- neural_renderer/vertices_to_faces.py: assert (vertices.shape[2] == 3)
- neural_renderer/vertices_to_faces.py: assert (faces.shape[2] == 3)
- neural_renderer/save_obj.py: assert vertices.ndimension() == 2
- neural_renderer/save_obj.py: assert faces.ndimension() == 2
- .git/packed-refs:4d32436eb3c2d28c87c679ce854dbc4553ccfc0b refs/remotes/origin/at_assert_fix
- .git/logs/refs/heads/at_assert_fix:0000000000000000000000000000000000000000 4d32436eb3c2d28c87c679ce854dbc4553ccfc0b Mona Jalal <jalal@bu.edu> 1600971142 -0400 branch: Created from refs/remotes/origin/at_assert_fix
- .git/logs/HEAD:b2a1e6ce16a54f94f26f86fe1dc3814637e15251 4d32436eb3c2d28c87c679ce854dbc4553ccfc0b Mona Jalal <jalal@bu.edu> 1600971142 -0400 checkout: moving from master to at_assert_fix
- .git/config:[branch "at_assert_fix"]
- .git/config: merge = refs/heads/at_assert_fix
- .git/HEAD:ref: refs/heads/at_assert_fix
- Binary file build/temp.linux-x86_64-3.7/neural_renderer/cuda/load_textures_cuda_kernel.o matches
- build/lib.linux-x86_64-3.7/neural_renderer/vertices_to_faces.py: assert (vertices.ndimension() == 3)
- build/lib.linux-x86_64-3.7/neural_renderer/vertices_to_faces.py: assert (faces.ndimension() == 3)
- build/lib.linux-x86_64-3.7/neural_renderer/vertices_to_faces.py: assert (vertices.shape[0] == faces.shape[0])
- build/lib.linux-x86_64-3.7/neural_renderer/vertices_to_faces.py: assert (vertices.shape[2] == 3)
- build/lib.linux-x86_64-3.7/neural_renderer/vertices_to_faces.py: assert (faces.shape[2] == 3)
- build/lib.linux-x86_64-3.7/neural_renderer/save_obj.py: assert vertices.ndimension() == 2
- build/lib.linux-x86_64-3.7/neural_renderer/save_obj.py: assert faces.ndimension() == 2
- tests/test_rasterize_depth.py: assert(np.allclose(ref, image))
- tests/test_rasterize_depth.py: assert(np.allclose(image, ref, atol=1e-2))
- tests/test_rasterize_depth.py: assert(np.allclose(grad, grad2, atol=1e-3))
- tests/test_look_at.py: assert(np.allclose(transformed.data.squeeze().numpy(), np.array(a)))
- tests/test_rasterize_silhouettes.py: assert(np.allclose(ref, image))
- tests/test_rasterize_silhouettes.py: assert(np.allclose(vertices.grad, grad_ref, rtol=1e-2))
- tests/test_rasterize_silhouettes.py: assert(np.allclose(vertices.grad, grad_ref, rtol=1e-2))
- tests/test_perspective.py: assert(np.allclose(transformer.data.squeeze().numpy(), v_out))
- tests/test_save_obj.py: assert np.allclose(vertices, vertices2)
- tests/test_save_obj.py: assert np.allclose(faces, faces2)
- tests/test_rasterize.py: assert(np.allclose(ref, image))
- tests/test_rasterize.py: assert(torch.allclose(vertices.grad, grad_ref, rtol=1e-2))
- tests/test_rasterize.py: assert(torch.allclose(vertices.grad, grad_ref, rtol=1e-2))
- tests/test_load_obj.py: assert (np.allclose(vertices_ref, vertices))
- tests/test_load_obj.py: assert (np.allclose(faces_ref, faces))
- tests/test_load_obj.py: assert (np.allclose(vertices_ref * 2 - 1.0, vertices))
- tests/test_load_obj.py: assert (np.allclose(faces_ref, faces))
- tests/test_load_obj.py: assert (faces.shape[0] == 2464)
- tests/test_load_obj.py: assert (vertices.shape[0] == 1292)
- (base) mona@mona:~/neural_renderer$ git checkout master
- Switched to branch 'master'
- Your branch is up to date with 'origin/master'.
- (base) mona@mona:~/neural_renderer$ grep -ri assert
- neural_renderer/vertices_to_faces.py: assert (vertices.ndimension() == 3)
- neural_renderer/vertices_to_faces.py: assert (faces.ndimension() == 3)
- neural_renderer/vertices_to_faces.py: assert (vertices.shape[0] == faces.shape[0])
- neural_renderer/vertices_to_faces.py: assert (vertices.shape[2] == 3)
- neural_renderer/vertices_to_faces.py: assert (faces.shape[2] == 3)
- neural_renderer/save_obj.py: assert vertices.ndimension() == 2
- neural_renderer/save_obj.py: assert faces.ndimension() == 2
- .git/packed-refs:4d32436eb3c2d28c87c679ce854dbc4553ccfc0b refs/remotes/origin/at_assert_fix
- .git/logs/refs/heads/at_assert_fix:0000000000000000000000000000000000000000 4d32436eb3c2d28c87c679ce854dbc4553ccfc0b Mona Jalal <jalal@bu.edu> 1600971142 -0400 branch: Created from refs/remotes/origin/at_assert_fix
- .git/logs/HEAD:b2a1e6ce16a54f94f26f86fe1dc3814637e15251 4d32436eb3c2d28c87c679ce854dbc4553ccfc0b Mona Jalal <jalal@bu.edu> 1600971142 -0400 checkout: moving from master to at_assert_fix
- .git/logs/HEAD:4d32436eb3c2d28c87c679ce854dbc4553ccfc0b b2a1e6ce16a54f94f26f86fe1dc3814637e15251 Mona Jalal <jalal@bu.edu> 1600971478 -0400 checkout: moving from at_assert_fix to master
- .git/config:[branch "at_assert_fix"]
- .git/config: merge = refs/heads/at_assert_fix
- Binary file build/temp.linux-x86_64-3.7/neural_renderer/cuda/load_textures_cuda_kernel.o matches
- build/lib.linux-x86_64-3.7/neural_renderer/vertices_to_faces.py: assert (vertices.ndimension() == 3)
- build/lib.linux-x86_64-3.7/neural_renderer/vertices_to_faces.py: assert (faces.ndimension() == 3)
- build/lib.linux-x86_64-3.7/neural_renderer/vertices_to_faces.py: assert (vertices.shape[0] == faces.shape[0])
- build/lib.linux-x86_64-3.7/neural_renderer/vertices_to_faces.py: assert (vertices.shape[2] == 3)
- build/lib.linux-x86_64-3.7/neural_renderer/vertices_to_faces.py: assert (faces.shape[2] == 3)
- build/lib.linux-x86_64-3.7/neural_renderer/save_obj.py: assert vertices.ndimension() == 2
- build/lib.linux-x86_64-3.7/neural_renderer/save_obj.py: assert faces.ndimension() == 2
- tests/test_rasterize_depth.py: assert(np.allclose(ref, image))
- tests/test_rasterize_depth.py: assert(np.allclose(image, ref, atol=1e-2))
- tests/test_rasterize_depth.py: assert(torch.allclose(grad, grad2, atol=1e-3))
- tests/test_look_at.py: assert(np.allclose(transformed.data.squeeze().numpy(), np.array(a)))
- tests/test_rasterize_silhouettes.py: assert(np.allclose(ref, image))
- tests/test_rasterize_silhouettes.py: assert(torch.allclose(vertices.grad, grad_ref, rtol=1e-2))
- tests/test_rasterize_silhouettes.py: assert(torch.allclose(vertices.grad, grad_ref, rtol=1e-2))
- tests/test_perspective.py: assert(np.allclose(transformer.data.squeeze().numpy(), v_out))
- tests/test_save_obj.py: assert torch.allclose(vertices, vertices2)
- tests/test_save_obj.py: assert torch.allclose(faces, faces2)
- tests/test_rasterize.py: assert(np.allclose(ref, image))
- tests/test_rasterize.py: assert(torch.allclose(vertices.grad, grad_ref, rtol=1e-2))
- tests/test_rasterize.py: assert(torch.allclose(vertices.grad, grad_ref, rtol=1e-2))
- tests/test_load_obj.py: assert (torch.allclose(torch.from_numpy(vertices_ref).cuda(), vertices))
- tests/test_load_obj.py: assert (torch.allclose(torch.from_numpy(faces_ref).cuda(), faces))
- tests/test_load_obj.py: assert (torch.allclose(torch.from_numpy(vertices_ref).cuda() * 2 - 1.0, vertices))
- tests/test_load_obj.py: assert (torch.allclose(torch.from_numpy(faces_ref).cuda(), faces))
- tests/test_load_obj.py: assert (faces.shape[0] == 2464)
- tests/test_load_obj.py: assert (vertices.shape[0] == 1292)
- README.md:**Note**: In some newer PyTorch versions you might see some compilation errors involving AT_ASSERT. In these cases you can use the version of the code that is in the branch *at_assert_fix*. These changes will be merged into master in the near future.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement