Skip to content

Commit

Permalink
clear citron2 and seattle2
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangwei221 committed Sep 3, 2022
1 parent 0dfabad commit 9ce81db
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions render_360.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
Render 360 views of a posed human.
Examples:
python render_360.py --scene_dir ./data/seattle2 --use_cuda=no --white_bkg=yes --rays_per_batch=2048 --trajectory_resolution=40 --weights_path ./out/seattle2_rotate/checkpoint.pth.tar --render_h=72 --render_w=128 --mode canonical_360 --can_posenc rotate
python render_360.py --scene_dir ./data/seattle2 --use_cuda=no --white_bkg=yes --rays_per_batch=2048 --trajectory_resolution=40 --weights_path ./out/seattle2_rotate/checkpoint.pth.tar --render_h=72 --render_w=128 --mode posed_360 --can_posenc rotate
python render_360.py --scene_dir ./data/seattle --use_cuda=no --white_bkg=yes --rays_per_batch=2048 --trajectory_resolution=40 --weights_path ./out/seattle_human/checkpoint.pth.tar --render_h=72 --render_w=128 --mode canonical_360 --can_posenc rotate
python render_360.py --scene_dir ./data/seattle --use_cuda=no --white_bkg=yes --rays_per_batch=2048 --trajectory_resolution=40 --weights_path ./out/seattle_human/checkpoint.pth.tar --render_h=72 --render_w=128 --mode posed_360 --can_posenc rotate
'''
import os
import argparse
Expand Down
6 changes: 3 additions & 3 deletions render_gathering.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

def read_novel_caps(opt, num_caps, scene):
novel_caps = []
if os.path.basename(opt.scene_dir) == 'seattle2' and opt.motion_name == 'dance_together':
if os.path.basename(opt.scene_dir) == 'seattle' and opt.motion_name == 'dance_together':
for i in range(num_caps):
cap = copy.deepcopy(scene.captures[20])
ellipse_a = 0.15
Expand All @@ -55,11 +55,11 @@ def get_mocap_path(motion_name, actor_name=None):

def get_manual_alignment(motion_name, actor_name):
if motion_name == 'dance_together':
if actor_name == 'seattle2':
if actor_name == 'seattle':
manual_trans = np.array([0, 0.15, 0.77])
manual_rot = np.array([90.4, -10.9, 4]) / 180 * np.pi
manual_scale = 0.2
if actor_name == 'citron2':
if actor_name == 'citron':
manual_trans = np.array([-0.36, 0.13, 0.92])
manual_rot = np.array([90, -9.4, 4]) / 180 * np.pi
manual_scale = 0.2
Expand Down
2 changes: 1 addition & 1 deletion visualize_scene.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Draw SMPL meshes(as vertices) with the scene point cloud
Example:
python visualize_scene.py --scene_dir ./data/citron2
python visualize_scene.py --scene_dir ./data/citron
'''

import argparse
Expand Down

0 comments on commit 9ce81db

Please sign in to comment.