can't run demo
See original GitHub issueThe error log is like this when running the python inference.py --config configs/inference.yaml --video_source=./docs/demo/videos/RD_Radio34_003_512.mp4 --image_source=./docs/demo/images/100.jpg --cross_id --output_dir=./docs/demo/output
Load pre-trained e4e Encoder from checkpoints/Encoder_e4e.pth done.
Load pre-trained hfgi encoder from checkpoints/hfgi.pth done.
Load pre-trained StyleGAN2 from checkpoints/StyleGAN_e4e.pth done.
Stage: inference
Load pre-trained StyleHEAT [net_G_ema] from checkpoints/StyleHEAT_visual.pt done
0%| | 0/1 [00:07<?, ?it/s]
Traceback (most recent call last):
File "inference.py", line 219, in <module>
main()
File "inference.py", line 202, in main
data = dataset.load_next_video()
File "/home/usr1/project/StyleHEAT/data/inference_dataset.py", line 174, in load_next_video
video_data = self.data_preprocess(video_path, image_path)
File "/home/usr1/project/StyleHEAT/data/inference_dataset.py", line 118, in data_preprocess
source_3dmm = self.model_3dmm.get_3dmm([src_image_pil_256], lm_np)
AttributeError: 'NoneType' object has no attribute 'get_3dmm'
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Demo won't load :: Backbeat Demo Discussions
On loading the game, I just get a black screen in the Unity window. No menu, no graphics, nothing. The first time I...
Read more >can't run demo applications: error in opening zip file - IBM
Hello,. I've installed BigInsights Enterprise 1.4 as a single node installation on my machine (CentOS 6.3, 64 bit), but can't run demo applications....
Read more >Can't run demo - trial period expires immediately - AVSIM
I'm trying to get the demo to work to check MCE out. I've installed it as suggested but it won't let me launch...
Read more >Cannot Run Demo Needs Updating? - SketchUp Community
I have just got a new Mac Book Pro and cannot get the demo to run at all, installed and all I get...
Read more >Unable to run demo: Key error "data" ยท Issue #89 - GitHub
I'm trying to run the data lineage wikimedia demo but I'm running into an error: Traceback (most recent call last):
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
By applying
--if_extract
this time I have two warnings that do not allow full execution. ููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููUserWarning: Default upsampling behavior when mode=bilinear is changed to align_corners=False since 0.4.0. Please specify align_corners=True if the old behavior is desired. See the documentation of nn.Upsample for details. "See the documentation of nn.Upsample for details.".format(mode)) /usr/local/lib/python3.7/site-packages/torch/nn/functional.py:3385: UserWarning: Default grid_sample and affine_grid behavior has changed to align_corners=False since 1.3.0. Please specify align_corners=True if the old behavior is desired. See the documentation of grid_sample for details. warnings.warn("Default grid_sample and affine_grid behavior has changed " ^C
Please add
--if_extract
for first inference.