mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-22 07:10:34 +08:00
rename types to avoid clash
Summary: There are cases where importing pytorch3d seems to fail (internally at Meta) because of a clash between the builtin types module and ours, so rename ours. Reviewed By: patricklabatut Differential Revision: D34426817 fbshipit-source-id: f175448db6a4967a9a3f7bb6f595aad2ffb36455
This commit is contained in:
committed by
Facebook GitHub Bot
parent
0e88b21de6
commit
f816568735
@@ -9,7 +9,7 @@ from typing import Optional
|
||||
import torch
|
||||
import torch.nn.functional as F
|
||||
|
||||
from ..common.types import Device
|
||||
from ..common.datatypes import Device
|
||||
|
||||
|
||||
"""
|
||||
|
||||
@@ -10,7 +10,7 @@ from typing import List, Optional, Union
|
||||
|
||||
import torch
|
||||
|
||||
from ..common.types import Device, get_device, make_device
|
||||
from ..common.datatypes import Device, get_device, make_device
|
||||
from ..common.workaround import _safe_det_3x3
|
||||
from .rotation_conversions import _axis_angle_rotation
|
||||
|
||||
|
||||
Reference in New Issue
Block a user