zhan-xu / RigNet

Code for SIGGRAPH 2020 paper "RigNet: Neural Rigging for Articulated Characters"
GNU General Public License v3.0
1.36k stars 189 forks source link

Preprocessing join path problem on Windows #42

Closed Vincentlcy closed 3 years ago

Vincentlcy commented 3 years ago

Thank you for your huge amount of work.

In the gen_dataset.py line143, with open(os.path.join(dataset_folder, 'with open(os.path.join(dataset_folder, '{:s}/{:d}_skin.txt').format(split_name, model_id), 'w') as fout:. The .format is placed outside the join function. On the Windows system, python will consider the {: as a drive name, so the first dataset_folder component will be dropped. Put the .format direct after the string will fix this problem.

Thank You