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:
imlixinyang 2021-01-22 10:59:19 -08:00 committed by Facebook GitHub Bot
parent 8eba1684cb
commit 2ee11c7845

View File

@ -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"