Open nitinmukesh opened 1 month ago
Even the command line is not working. Error handling is bad in code, no clear information what is wrong.
(mimictalk) C:\ai\MimicTalk>python inference/train_mimictalk_on_a_video.py
copy "checkpoints/mimictalk_orig/os_secc2plane_torso\config.yaml" "checkpoints_mimictalk/GER"
1 file(s) copied.
| WARN: checkpoints\mimictalk_orig\os_secc2plane_torso\secc_img2plane.yaml not exist.
Even the command line is not working. Error handling is bad in code, no clear information what is wrong.
(mimictalk) C:\ai\MimicTalk>python inference/train_mimictalk_on_a_video.py copy "checkpoints/mimictalk_orig/os_secc2plane_torso\config.yaml" "checkpoints_mimictalk/GER" 1 file(s) copied. | WARN: checkpoints\mimictalk_orig\os_secc2plane_torso\secc_img2plane.yaml not exist.
you need config.yaml file ,the info warning ,Check the file or download it again
Config.yaml is already there
This file is missing secc_img2plane.yaml
https://drive.google.com/drive/folders/1KM0GubbN0B6l3CCAL31341TYaFmJCXAx
I've learned the hard way.
in short, what you need to do:
and off you go:
@ultrafunkamsterdam
Appreciate your response. I gave up on this but with your help the gradio Ui is running.
However still getting error
| python data_gen/utils/process_video/extract_segment_imgs.py --ds_name=nerf --vid_dir=data/raw/videos/German_20s.mp4
todo videos number: 1
INFO: Created TensorFlow Lite XNNPACK delegate for CPU.
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
W0000 00:00:1730815048.379380 2164 inference_feedback_manager.cc:114] Feedback manager requires a model with a single signature inference. Disabling support for feedback tensors.
| Extracting Segmaps && Saving...
<class 'OSError'> [WinError 6] The handle is invalid
| Head images Extracted!
create rasterizer on device cuda:0
Training ERROR: 'NoneType' object is not subscriptable
@ultrafunkamsterdam
Appreciate your response. I gave up on this but with your help the gradio Ui is running.
However still getting error
| python data_gen/utils/process_video/extract_segment_imgs.py --ds_name=nerf --vid_dir=data/raw/videos/German_20s.mp4 todo videos number: 1 INFO: Created TensorFlow Lite XNNPACK delegate for CPU. WARNING: All log messages before absl::InitializeLog() is called are written to STDERR W0000 00:00:1730815048.379380 2164 inference_feedback_manager.cc:114] Feedback manager requires a model with a single signature inference. Disabling support for feedback tensors. | Extracting Segmaps && Saving... <class 'OSError'> [WinError 6] The handle is invalid | Head images Extracted! create rasterizer on device cuda:0 Training ERROR: 'NoneType' object is not subscriptable
i haven't tried extract_segment_imgs.py but only app_mimictalk.py .
any way. if you have ipython installed, open it up, type
%pdb
and on the next line
%run data_gen/utils/process_video/extract_segment_imgs.py --ds_name=nerf --vid_dir=data/raw/videos/German_20s.mp4
it is more easy to locate what is wrong.
Not sure what is the issue