def create_videos(config, base_dir, out_dir, out_name, num_frames):
"""Creates videos out of the images saved to disk."""
names = [n for n in config.exp_path.split('/') if n]
On Windows, above code caused error.
Following code will be better, I felt. (using os.sep)
def create_videos(config, base_dir, out_dir, out_name, num_frames):
"""Creates videos out of the images saved to disk."""
names = [n for n in config.exp_path.split(os.sep) if n]
Thanks a lot for great repo! I found a tiny issue in render.py https://github.com/SuLvXiangXin/zipnerf-pytorch/blob/main/render.py
On Windows, above code caused error. Following code will be better, I felt. (using os.sep)