Open-PIFuhd icon indicating copy to clipboard operation
Open-PIFuhd copied to clipboard

Error with ./scripts/train_pfhd_coarse.sh command

Open Gallonigher opened this issue 2 years ago • 0 comments

Hello.

I would like to report an error with open-PIFuHD.

When running the command "./scripts/train_pfhd_coarse.sh", I get the following error: /home/sylvan/conda/lib/python3.8/site-packages/torchvision/io/image.py:13 : UserWarning : Failed to load image Python Extension : /home/sylvan/conda/lib/python3.8/site-packages/torchvision/image.so : undefined symbol : _ZN3c105ErrorC2ENS_14SourceLocationESs warn(f "Failed to load image Python extension: {e}") sh : 1 : Syntax error : "(" unexpected Traceback (most recent call): File "./tools/train_pifu.py", line 38, in logger=setup_logger(cfg.name,rank= args.local_rank) File "/home/sylvan/Downloads/open-pifuhd (convert character image to 3D model)/Open-PIFuhd-master/./utils/logger.py", line 29, in setup_logger fh = logging.FileHandler(logger_name, mode='w') File "/home/sylvan/conda/lib/python3.8/logging/init.py", line 1147, in init StreamHandler.init(self, self._open()) File "/home/sylvan/conda/lib/python3.8/logging/init.py", line 1176, in _open return open(self.baseFilename, self.mode, encoding=self.encoding) FileNotFoundError: [Errno 2] No such file or directory : '/home/sylvan/Downloads/open-pifuhd (convert character image to 3D model)/Open-PIFuhd-master/checkpoints/PIFuhd_Render_People_HG_coarse/logger/2022-05-26-18/logger.trainer'.

Following the instructions of ainstallation, I had to modify the file "requirements.txt", here is its content: cycler==0.10.0 decorator==4.4.1 imageio==2.8.0 kiwisolver==1.1.0 matplotlib==3.1.3 networkx==2.4 numpy opencv-python==4.2.0.32 pathlib==1.0.1 pillow==7.0.0 pyexr PyOpenGL==3.1.5 pyparsing==2.4.6 python-dateutil==2.8.1 PyWavelets==1.1.1 scikit-image==0.16.2 scipy==1.4.1 Shapely==1.7.0 six==1.14.0 tqdm==4.43.0 trimesh xxhash==1.4.3

I don't know how to fix it, so I wanted to point it out to you, sorry for the inconvenience.

Translated with www.DeepL.com/Translator (free version)

Gallonigher avatar May 26 '22 16:05 Gallonigher