Commit ce60d4b
remove requires_grad from random rotations
Summary: Because rotations and (rotation) quaternions live on curved manifolds, it doesn't make sense to optimize them directly. Having a prominent option to require gradient on random ones may cause people to try, and isn't particularly useful.
Reviewed By: theschnitz
Differential Revision: D29160734
fbshipit-source-id: fc9e320672349fe334747c5b214655882a460a621 parent 31c448a commit ce60d4b
File tree
2 files changed
+12
-23
lines changed- pytorch3d/transforms
- tests
2 files changed
+12
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | | - | |
286 | | - | |
287 | | - | |
| 285 | + | |
288 | 286 | | |
289 | 287 | | |
290 | 288 | | |
| |||
294 | 292 | | |
295 | 293 | | |
296 | 294 | | |
297 | | - | |
298 | | - | |
299 | 295 | | |
300 | 296 | | |
301 | 297 | | |
302 | 298 | | |
303 | | - | |
| 299 | + | |
304 | 300 | | |
305 | 301 | | |
306 | 302 | | |
307 | 303 | | |
308 | 304 | | |
309 | | - | |
310 | | - | |
311 | | - | |
| 305 | + | |
312 | 306 | | |
313 | 307 | | |
314 | 308 | | |
| |||
317 | 311 | | |
318 | 312 | | |
319 | 313 | | |
320 | | - | |
321 | | - | |
322 | 314 | | |
323 | 315 | | |
324 | 316 | | |
325 | 317 | | |
326 | | - | |
327 | | - | |
328 | | - | |
| 318 | + | |
329 | 319 | | |
330 | 320 | | |
331 | 321 | | |
332 | | - | |
333 | | - | |
334 | | - | |
| 322 | + | |
335 | 323 | | |
336 | 324 | | |
337 | 325 | | |
338 | 326 | | |
339 | 327 | | |
340 | 328 | | |
341 | 329 | | |
342 | | - | |
343 | | - | |
344 | 330 | | |
345 | 331 | | |
346 | 332 | | |
347 | 333 | | |
348 | | - | |
| 334 | + | |
349 | 335 | | |
350 | 336 | | |
351 | 337 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
131 | 132 | | |
132 | 133 | | |
133 | 134 | | |
134 | | - | |
| 135 | + | |
| 136 | + | |
135 | 137 | | |
136 | 138 | | |
137 | 139 | | |
| |||
218 | 220 | | |
219 | 221 | | |
220 | 222 | | |
221 | | - | |
| 223 | + | |
| 224 | + | |
222 | 225 | | |
223 | 226 | | |
224 | 227 | | |
| |||
0 commit comments