facebookresearch / pifuhd

High-Resolution 3D Human Digitization from A Single Image.
Other
9.46k stars 1.43k forks source link

simple_test output the error results #166

Closed zjusxh closed 2 years ago

zjusxh commented 2 years ago

I run the sh ./scripts/demo.sh without error, but the results are not reasonable. My packages are listed as follows: python 3.6.15 ffmpeg 1.4 opencv-python 4.5.5.64 Pillow 8.4.0 PyOpenGL 3.1.6 scikit-image 0.17.2 torch 1.5.0+cu101 torchvision 0.6.0+cu101 tqdm 4.64.0 trimesh 3.12.3

The results: image

image

(pifuhd) root@task231216-ngdkv:~/github/pifuhd-main# sh ./scripts/demo.sh Resuming from ./checkpoints/pifuhd.pt Warning: opt is overwritten. into evalWPoseDataset... self.opt.crop_type face crop fun: face test data size: 1 initialize network with normal initialize network with normal generate mesh (test) ... 0%| | 0/1 [00:00<?, ?it/s]./results/pifuhd_final/recon/result_test_512.obj 100%|###############################################################################################################################################################################| 1/1 [00:35<00:00, 35.56s/it] ['./results/pifuhd_final/recon/result_test_512.obj'] ./results/pifuhd_final/recon/result_test_512.obj ffmpeg version 5.0.1 Copyright (c) 2000-2022 the FFmpeg developers built with gcc 10.3.0 (conda-forge gcc 10.3.0-16) configuration: --prefix=/root/miniconda3/envs/pifuhd --cc=/home/conda/feedstock_root/build_artifacts/ffmpeg_1653042464189/_build_env/bin/x86_64-conda-linux-gnu-cc --disable-doc --disable-openssl --enable-demuxer=dash --enable-gnutls --enable-gpl --enable-hardcoded-tables --enable-libfreetype --enable-libopenh264 --enable-vaapi --enable-libx264 --enable-libx265 --enable-libaom --enable-libsvtav1 --enable-libxml2 --enable-libvpx --enable-pic --enable-pthreads --enable-shared --disable-static --enable-version3 --enable-zlib --enable-libmp3lame --pkg-config=/home/conda/feedstock_root/build_artifacts/ffmpeg_1653042464189/_build_env/bin/pkg-config libavutil 57. 17.100 / 57. 17.100 libavcodec 59. 18.100 / 59. 18.100 libavformat 59. 16.100 / 59. 16.100 libavdevice 59. 4.100 / 59. 4.100 libavfilter 8. 24.100 / 8. 24.100 libswscale 6. 4.100 / 6. 4.100 libswresample 4. 3.100 / 4. 3.100 libpostproc 56. 3.100 / 56. 3.100 Input #0, image2, from './results/pifuhdfinal/recon//rot%04d.png': Duration: 00:00:06.03, start: 0.000000, bitrate: N/A Stream #0:0: Video: png, rgba(pc), 512x512, 30 fps, 30 tbr, 30 tbn Stream mapping: Stream #0:0 -> #0:0 (png (native) -> h264 (libx264)) Press [q] to stop, [?] for help [libx264 @ 0x563a6e7fa600] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 AVX512 [libx264 @ 0x563a6e7fa600] profile High, level 3.1, 4:2:0, 8-bit [libx264 @ 0x563a6e7fa600] 264 - core 161 r3030M 8bd6d28 - H.264/MPEG-4 AVC codec - Copyleft 2003-2020 - http://www.videolan.org/x264.html - options: cabac=1 ref=16 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=16 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 Output #0, mp4, to './results/pifuhd_final/recon/result_test_512.mp4': Metadata: encoder : Lavf59.16.100 Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv420p(tv, progressive), 512x512, q=2-31, 30 fps, 15360 tbn Metadata: encoder : Lavc59.18.100 libx264 Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A frame= 181 fps= 90 q=-1.0 Lsize= 701kB time=00:00:05.93 bitrate= 968.0kbits/s speed=2.94x video:698kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.411906% [libx264 @ 0x563a6e7fa600] frame I:1 Avg QP:15.54 size: 16357 [libx264 @ 0x563a6e7fa600] frame P:56 Avg QP:26.79 size: 7642 [libx264 @ 0x563a6e7fa600] frame B:124 Avg QP:30.88 size: 2177 [libx264 @ 0x563a6e7fa600] consecutive B-frames: 1.1% 16.6% 18.2% 64.1% [libx264 @ 0x563a6e7fa600] mb I I16..4: 67.5% 13.7% 18.8% [libx264 @ 0x563a6e7fa600] mb P I16..4: 0.2% 2.3% 0.9% P16..4: 7.7% 9.1% 10.3% 0.0% 0.0% skip:69.5% [libx264 @ 0x563a6e7fa600] mb B I16..4: 0.1% 0.1% 0.0% B16..8: 15.4% 7.0% 3.7% direct: 1.8% skip:71.9% L0:42.3% L1:41.8% BI:16.0% [libx264 @ 0x563a6e7fa600] 8x8 transform intra:49.1% inter:13.7% [libx264 @ 0x563a6e7fa600] coded y,uvDC,uvAC intra: 21.2% 28.1% 27.2% inter: 7.2% 10.4% 8.5% [libx264 @ 0x563a6e7fa600] i16 v,h,dc,p: 88% 7% 5% 0% [libx264 @ 0x563a6e7fa600] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 7% 8% 81% 1% 0% 1% 1% 1% 1% [libx264 @ 0x563a6e7fa600] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 16% 27% 5% 6% 7% 6% 6% 6% [libx264 @ 0x563a6e7fa600] i8c dc,h,v,p: 67% 10% 20% 3% [libx264 @ 0x563a6e7fa600] Weighted P-Frames: Y:1.8% UV:1.8% [libx264 @ 0x563a6e7fa600] ref P L0: 70.7% 13.1% 7.5% 2.5% 1.5% 0.9% 0.6% 0.4% 0.5% 0.5% 0.4% 0.4% 0.3% 0.3% 0.2% 0.2% [libx264 @ 0x563a6e7fa600] ref B L0: 82.2% 10.5% 3.4% 1.2% 0.6% 0.5% 0.4% 0.2% 0.2% 0.2% 0.2% 0.2% 0.1% 0.1% 0.0% [libx264 @ 0x563a6e7fa600] ref B L1: 97.4% 2.6% [libx264 @ 0x563a6e7fa600] kb/s:947.11