shunsukesaito / PIFu

This repository contains the code for the paper "PIFu: Pixel-Aligned Implicit Function for High-Resolution Clothed Human Digitization"
https://shunsukesaito.github.io/PIFu/
Other
1.78k stars 342 forks source link

PIFu_Demo.ipynb error #151

Open Ishihara-Masabumi opened 1 year ago

Ishihara-Masabumi commented 1 year ago

When I tried to run PIFu_Demo.ipynb, the last cell outputting the following error.

---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
[<ipython-input-6-0b1e7703a7cd>](https://localhost:8080/#) in <cell line: 7>()
      5 
      6 renderer = set_renderer()
----> 7 generate_video_from_obj(obj_path, video_path, renderer)
      8 
      9 # we cannot play a mp4 video generated by cv2

1 frames
[/content/PIFu/lib/colab_util.py](https://localhost:8080/#) in get_verts_rgb_colors(obj_path)
     66   rgb_colors = []
     67 
---> 68   f = open(obj_path)
     69   lines = f.readlines()
     70   for line in lines:

FileNotFoundError: [Errno 2] No such file or directory: '/content/PIFu/results/pifu_demo/result_ryota.obj'

Please let me know how to fix it.

leonelhs commented 1 year ago

change measure.marching_cubes_lewiner to measure.marching_cubes would work in mesh_util.py