mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-08-02 11:52:50 +08:00
Fixes bug when importing from ..common.types (#706)
Summary: There are a couple times in the code where Device, make_device and get_device are imported by: `from ..common.types import Device, get_device, make_device` which will not work without this init file, at least on python 3.8. Pull Request resolved: https://github.com/facebookresearch/pytorch3d/pull/706 Reviewed By: bottler Differential Revision: D29031835 Pulled By: patricklabatut fbshipit-source-id: 15743e3c8cffdfcca51b6d2f377b923da9cbe6f9
This commit is contained in:
parent
44508ed0db
commit
c4fc4666fc
1
pytorch3d/common/__init__.py
Normal file
1
pytorch3d/common/__init__.py
Normal file
@ -0,0 +1 @@
|
||||
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
|
Loading…
x
Reference in New Issue
Block a user