CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 09:26:32 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/facebookresearch/pytorch3d.git
etag: W/"2aaca29ef7a78379b53a9e2b1ec283e5"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=zfp0j6WfAs3SQqs0L0gBCACTwBcBlItQnEbDY39x09ldDDnjZKLQTXn9Z9%2BUAs9ZJvH25E5ocwwAVqeRBBobwisROjlbrDUHicab3uvvVOUpRSrhGwcQbSBjzdLAQePXT0bvW5%2FCnawrZuNfrvz0kvvNwXedzs877FDgSqn%2FW9kjH2NzzaYXFuYcjTSYyLTJfVpzbWAdlkoXRBI8tNoHTiIQLmwxWS0%2Fz5JjXzwFokuzpq%2Bh%2F64ZYVl0DakzV0KpJ6xX4dFDMZbydcOQSUZx3g%3D%3D--aQB2FhQKx5bUOOEj--v6B6ryGas%2Fda%2BQ5YV1JjZg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1408751376.1753608392; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 09:26:32 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 09:26:32 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8702:29FD1F:CAFC91:10D111B:6885F0C8
SO3 improvements for stable gradients. · facebookresearch/pytorch3d@9f14e82 · GitHub
Copy file name to clipboardExpand all lines: pytorch3d/transforms/__init__.py
Copy file name to clipboardExpand all lines: pytorch3d/transforms/so3.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit 9f14e82
SO3 improvements for stable gradients.
Summary:
Improves so3 functions to make gradient computation stable:
- Instead of `torch.acos`, uses `acos_linear_extrapolation` which has finite gradients of reasonable magnitude for all inputs.
- Adds tests for the latter.
The tests of the finiteness of the gradient in `test_so3_exp_singularity`, `test_so3_exp_singularity`, `test_so3_cos_bound` would fail if the `so3` functions would call `torch.acos` instead of `acos_linear_extrapolation`.
Reviewed By: bottler
Differential Revision: D23326429
fbshipit-source-id: dc296abf2ae3ddfb3942c8146621491a9cb740ee1 parent dd45123 commit 9f14e82Copy full SHA for 9f14e82
File tree
Expand file treeCollapse file tree
3 files changed
+180
-67
lines changedFilter options
- pytorch3d/transforms
- tests
Expand file treeCollapse file tree
3 files changed
+180
-67
lines changedpytorch3d/transforms/__init__.py
Copy file name to clipboardExpand all lines: pytorch3d/transforms/__init__.py+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
| 25 | + | |
25 | 26 |
| |
26 | 27 |
| |
27 | 28 |
| |
|
pytorch3d/transforms/so3.py
Copy file name to clipboardExpand all lines: pytorch3d/transforms/so3.py+78-33Lines changed: 78 additions & 33 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
| 3 | + | |
3 | 4 |
| |
4 | 5 |
| |
5 | 6 |
| |
| 7 | + | |
6 | 8 |
| |
7 | 9 |
| |
8 | 10 |
| |
9 | 11 |
| |
10 |
| - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
11 | 18 |
| |
12 | 19 |
| |
13 | 20 |
| |
| |||
20 | 27 |
| |
21 | 28 |
| |
22 | 29 |
| |
23 |
| - | |
24 |
| - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
25 | 36 |
| |
26 | 37 |
| |
27 | 38 |
| |
| |||
32 | 43 |
| |
33 | 44 |
| |
34 | 45 |
| |
35 |
| - | |
| 46 | + | |
36 | 47 |
| |
37 | 48 |
| |
38 |
| - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
39 | 55 |
| |
40 | 56 |
| |
41 | 57 |
| |
| |||
47 | 63 |
| |
48 | 64 |
| |
49 | 65 |
| |
50 |
| - | |
51 |
| - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
52 | 73 |
| |
53 | 74 |
| |
54 | 75 |
| |
| |||
68 | 89 |
| |
69 | 90 |
| |
70 | 91 |
| |
71 |
| - | |
72 |
| - | |
73 |
| - | |
74 | 92 |
| |
75 |
| - | |
| 93 | + | |
76 | 94 |
| |
77 | 95 |
| |
78 |
| - | |
| 96 | + | |
79 | 97 |
| |
80 |
| - | |
81 |
| - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
82 | 102 |
| |
83 | 103 |
| |
84 |
| - | |
| 104 | + | |
85 | 105 |
| |
86 | 106 |
| |
87 | 107 |
| |
| |||
94 | 114 |
| |
95 | 115 |
| |
96 | 116 |
| |
97 |
| - | |
| 117 | + | |
98 | 118 |
| |
99 | 119 |
| |
100 | 120 |
| |
101 |
| - | |
| 121 | + | |
102 | 122 |
| |
103 | 123 |
| |
104 | 124 |
| |
105 | 125 |
| |
106 | 126 |
| |
107 | 127 |
| |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
108 | 133 |
| |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
109 | 142 |
| |
110 | 143 |
| |
111 | 144 |
| |
| |||
117 | 150 |
| |
118 | 151 |
| |
119 | 152 |
| |
| 153 | + | |
120 | 154 |
| |
121 | 155 |
| |
122 | 156 |
| |
123 | 157 |
| |
124 |
| - | |
| 158 | + | |
125 | 159 |
| |
126 | 160 |
| |
127 | 161 |
| |
128 |
| - | |
| 162 | + | |
129 | 163 |
| |
130 | 164 |
| |
131 |
| - | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
132 | 168 |
| |
133 | 169 |
| |
134 | 170 |
| |
135 | 171 |
| |
136 |
| - | |
| 172 | + | |
137 | 173 |
| |
138 | 174 |
| |
139 | 175 |
| |
140 | 176 |
| |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
141 | 182 |
| |
142 | 183 |
| |
143 | 184 |
| |
| |||
152 | 193 |
| |
153 | 194 |
| |
154 | 195 |
| |
155 |
| - | |
| 196 | + | |
156 | 197 |
| |
157 |
| - | |
| 198 | + | |
158 | 199 |
| |
159 |
| - | |
160 |
| - | |
161 |
| - | |
162 |
| - | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
163 | 209 |
| |
164 |
| - | |
165 | 210 |
| |
166 | 211 |
| |
167 | 212 |
| |
168 | 213 |
| |
169 | 214 |
| |
170 |
| - | |
| 215 | + | |
171 | 216 |
| |
172 | 217 |
| |
173 | 218 |
| |
| |||
188 | 233 |
| |
189 | 234 |
| |
190 | 235 |
| |
191 |
| - | |
| 236 | + | |
192 | 237 |
| |
193 |
| - | |
| 238 | + | |
194 | 239 |
| |
195 | 240 |
| |
196 | 241 |
| |
| |||
201 | 246 |
| |
202 | 247 |
| |
203 | 248 |
| |
204 |
| - | |
| 249 | + | |
205 | 250 |
| |
206 | 251 |
| |
207 | 252 |
| |
| |||
225 | 270 |
| |
226 | 271 |
| |
227 | 272 |
| |
228 |
| - | |
| 273 | + | |
229 | 274 |
| |
230 | 275 |
| |
231 | 276 |
| |
|
You can’t perform that action at this time.
0 commit comments