如何可视化卤化物时间表?

How to visualize halide schedule?

如何可视化像 this video 这样的卤化物时间表? HalideTraceViz 在 halide 存储库中带有 viz.sh 似乎可以形象化。 但是 viz.sh 生成的 camera_pipe.avi 只显示大约 10 秒的黑色。这是用mplayer播放.avi文件时的日志

$ mplayer bin/camera_pipe.avi 
MPlayer 1.1-4.8 (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing bin/camera_pipe.avi.
libavformat version 54.20.4 (external)
Mismatching header version 54.20.3
AVI file format detected.
[aviheader] Video stream found, -vid 0
AVI: No audio stream found -> no sound.
VIDEO:  [H264]  1920x1080  24bpp  25.000 fps   15.0 kbps ( 1.8 kbyte/s)
Clip info:
 Software: Lavf54.20.4
Load subtitles in bin/
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 54.35.0 (external)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Audio: no sound
Starting playback...
Unsupported AVPixelFormat 53
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 1920x1080 => 1920x1080 Planar YV12 
V:  10.0 250/250  5%  4%  0.0% 0 0 


Exiting... (End of file)

那个可视化脚本只是陈旧和错误。我会修好它。试试 local_laplacian 和 bilateral_grid.

中的那些

不幸的是,现在的可视化工具超级user-unfriendly。也许它应该将 json 或其他东西作为输入,而不仅仅是位置 command-line 参数。