Starting video demo, video path: demo/input/test1.mp4
Traceback (most recent call last):
File "demo/demo.py", line 194, in
main()
File "demo/demo.py", line 129, in main
video_writer = AVAVisualizer(
File "/mnt/745425dc-5d5b-4490-9d38-57169dcb2ab3/wxl/AlphAction-master/demo/visualizer.py", line 188, in init
self.font = ImageFont.truetype("./Roboto-Bold.ttf", self.font_size)
File "/home/user/anaconda3/envs/alph/lib/python3.8/site-packages/PIL/ImageFont.py", line 655, in truetype
return freetype(font)
File "/home/user/anaconda3/envs/alph/lib/python3.8/site-packages/PIL/ImageFont.py", line 652, in freetype
return FreeTypeFont(font, size, index, encoding, layout_engine)
File "/home/user/anaconda3/envs/alph/lib/python3.8/site-packages/PIL/ImageFont.py", line 193, in init
self.font = core.getfont(
OSError: cannot open resource
AlphAction-master$ python demo/demo.py --video-path demo/input/test1.mp4 --output-path demo/output --cfg-path AlphAction-master/config_files/resnet101_8x8f_denseserial.yaml --weight-path AlphAction-master/model/aia_models/resnet101_8x8f_denseserial.pth
Starting video demo, video path: demo/input/test1.mp4 Traceback (most recent call last): File "demo/demo.py", line 194, in
main()
File "demo/demo.py", line 129, in main
video_writer = AVAVisualizer(
File "/mnt/745425dc-5d5b-4490-9d38-57169dcb2ab3/wxl/AlphAction-master/demo/visualizer.py", line 188, in init
self.font = ImageFont.truetype("./Roboto-Bold.ttf", self.font_size)
File "/home/user/anaconda3/envs/alph/lib/python3.8/site-packages/PIL/ImageFont.py", line 655, in truetype
return freetype(font)
File "/home/user/anaconda3/envs/alph/lib/python3.8/site-packages/PIL/ImageFont.py", line 652, in freetype
return FreeTypeFont(font, size, index, encoding, layout_engine)
File "/home/user/anaconda3/envs/alph/lib/python3.8/site-packages/PIL/ImageFont.py", line 193, in init
self.font = core.getfont(
OSError: cannot open resource
i wonder how can i solve this question ?