Hanbo-Cheng / DAWN-pytorch

Offical implement of Dynamic Frame Avatar with Non-autoregressive Diffusion Framework for talking head Video Generation
177 stars 9 forks source link

python: can't open file 'src\evaluate\tvae_eval_single_both_eye_pose.py': [Errno 2] No such file or directory #5

Closed nitinmukesh closed 3 weeks ago

nitinmukesh commented 3 weeks ago
(DAWN) C:\ai\DAWN-pytorch>run_ood_test\run_DM_v0_df_test_256_1.bat
C:\ai\DAWN-pytorch\extract_init_states
C:\Users\nitin\miniconda3\envs\3DDFA\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py:69: UserWarning: Specified provider 'CUDAExecutionProvider' is not in available provider names.Available providers: 'AzureExecutionProvider, CPUExecutionProvider'
  warnings.warn(
C:\ai\DAWN-pytorch
Loading the Wav2Vec2 Processor...
Ignored unknown kwarg option normalize
Ignored unknown kwarg option normalize
Ignored unknown kwarg option normalize
Ignored unknown kwarg option normalize
Loading the HuBERT Model...
2024-11-10 19:43:42.267117: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: SSE SSE2 SSE3 SSE4.1 SSE4.2 AVX AVX2 AVX_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.

TFHubertModel has backpropagation operations that are NOT supported on CPU. If you wish to train/fine-tune this model, you need a GPU or a TPU
2024-11-10 19:43:43.030351: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x1b337c78a80 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2024-11-10 19:43:43.031372: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
2024-11-10 19:43:43.045700: I .\tensorflow/compiler/jit/device_compiler.h:186] Compiled cluster using XLA!  This line is logged at most once for the lifetime of the process.
All TF 2.0 model weights were used when initializing HubertModel.

All the weights of HubertModel were initialized from the TF 2.0 model.
If your task is similar to the task the model of the checkpoint was trained on, you can already use HubertModel for predictions without further training.
ffmpeg version 6.1-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --pkg-config=pkgconf --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-dxva2 --enable-d3d11va --enable-libvpl --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
  libavutil      58. 29.100 / 58. 29.100
  libavcodec     60. 31.102 / 60. 31.102
  libavformat    60. 16.100 / 60. 16.100
  libavdevice    60.  3.100 / 60.  3.100
  libavfilter     9. 12.100 /  9. 12.100
  libswscale      7.  5.100 /  7.  5.100
  libswresample   4. 12.100 /  4. 12.100
  libpostproc    57.  3.100 / 57.  3.100
[aist#0:0/pcm_s16le @ 000001a454d32ac0] Guessed Channel Layout: mono
Input #0, wav, from 'WRA_MarcoRubio_000.wav':
  Metadata:
    encoder         : Lavf58.29.100
  Duration: 00:00:21.01, bitrate: 256 kb/s
  Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, 1 channels, s16, 256 kb/s
File 'C:\ai\DAWN-pytorch\tmp6ktdvs7p.wav' already exists. Overwrite? [y/N] y
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s16le (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, wav, to 'C:\ai\DAWN-pytorch\tmp6ktdvs7p.wav':
  Metadata:
    ISFT            : Lavf60.16.100
  Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, mono, s16, 256 kb/s
    Metadata:
      encoder         : Lavc60.31.102 pcm_s16le
[out#0/wav @ 000001a454d32c40] video:0kB audio:657kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.011599%
size=     657kB time=00:00:20.99 bitrate= 256.3kbits/s speed=1.43e+03x
File C:\ai\DAWN-pytorch\tmp6ktdvs7p.wav has been deleted successfully.
fnum525,hubersize1050
python: can't open file 'src\evaluate\tvae_eval_single_both_eye_pose.py': [Errno 2] No such file or directory
Hanbo-Cheng commented 3 weeks ago

I accidentally missed PBNet, it should be .\PBNet\src\evaluate\tvae_eval_single_both_eye_pose.py. Originally, the absolute path of the server was used, which led to some errors during the modification. Thank you for pointing it out ~

nitinmukesh commented 3 weeks ago

Thank you. It worked.