mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-08-02 03:42:50 +08:00
Update generate_cow_renders.py (#529)
Summary: Typo fixed. Pull Request resolved: https://github.com/facebookresearch/pytorch3d/pull/529 Reviewed By: bottler Differential Revision: D26008651 Pulled By: nikhilaravi fbshipit-source-id: 76d5baadba7bcd3577397adb842e964ee4490b7d
This commit is contained in:
parent
8eba1684cb
commit
2ee11c7845
@ -59,7 +59,7 @@ def generate_cow_renders(
|
||||
os.path.join(data_dir, fl) for fl in ("cow.obj", "cow.mtl", "cow_texture.png")
|
||||
]
|
||||
if any(not os.path.isfile(f) for f in cow_mesh_files):
|
||||
os.makedirs(data_dir, exis_ok=True)
|
||||
os.makedirs(data_dir, exist_ok=True)
|
||||
os.system(
|
||||
f"wget -P {data_dir} "
|
||||
+ "https://dl.fbaipublicfiles.com/pytorch3d/data/cow_mesh/cow.obj"
|
||||
|
Loading…
x
Reference in New Issue
Block a user