Commit 2ee11c78 authored by imlixinyang's avatar imlixinyang Committed by Facebook GitHub Bot
Browse files

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
parent 8eba1684
...@@ -59,7 +59,7 @@ def generate_cow_renders( ...@@ -59,7 +59,7 @@ def generate_cow_renders(
os.path.join(data_dir, fl) for fl in ("cow.obj", "cow.mtl", "cow_texture.png") 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): 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( os.system(
f"wget -P {data_dir} " f"wget -P {data_dir} "
+ "https://dl.fbaipublicfiles.com/pytorch3d/data/cow_mesh/cow.obj" + "https://dl.fbaipublicfiles.com/pytorch3d/data/cow_mesh/cow.obj"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment