I finally got everything to compile and I tried to run the demo. I got the following error and the gplot windows are empty and no images are shown:
Loaded network /home/ubuntu/py-faster-rcnn/data/faster_rcnn_models/VGG16_faster_rcnn_final.caffemodel
Demo for data/demo/000456.jpg
Detection took 0.538s for 300 object proposals
Demo for data/demo/000542.jpg
Detection took 0.501s for 161 object proposals
Demo for data/demo/001150.jpg
Detection took 0.504s for 194 object proposals
Demo for data/demo/001763.jpg
Detection took 0.502s for 196 object proposals
Demo for data/demo/004545.jpg
Detection took 0.535s for 300 object proposals
TypeError: Couldn't find conversion for foreign struct 'cairo.Context'
TypeError: Couldn't find conversion for foreign struct 'cairo.Context'
TypeError: Couldn't find conversion for foreign struct 'cairo.Context'
TypeError: Couldn't find conversion for foreign struct 'cairo.Context'
TypeError: Couldn't find conversion for foreign struct 'cairo.Context'
TypeError: Couldn't find conversion for foreign struct 'cairo.Context'
TypeError: Couldn't find conversion for foreign struct 'cairo.Context'
TypeError: Couldn't find conversion for foreign struct 'cairo.Context'
TypeError: Couldn't find conversion for foreign struct 'cairo.Context'
TypeError: Couldn't find conversion for foreign struct 'cairo.Context'
TypeError: Couldn't find conversion for foreign struct 'cairo.Context'
I fixed this by doing "sudo apt-get install python-gobject-cairo"
@GeorgiAngelov I try your way on aarch64 linux with python2.7 and it didn't work. but the following one works for me.
sudo apt-get install python-gi-cairo
# On ArchLinux
sudo pacman -S python-cairo
I fixed this by doing "sudo apt-get install python-gobject-cairo"
didn't worked with me :(
sudo apt-get install python-gi-cairo
works with me thanks!
In case anyone is using python3 with pi, then just change the command to "sudo apt-get install python3-gi-cairo"
Holy c... halleluiah!! Thank you SO much! Worked for me:
sudo apt-get install python-gi-cairo
In case anyone is using python3 with pi, then just change the command to "sudo apt-get install python3-gi-cairo"
A thanks is due :).
Thanks, that 3 has cost me too many hours in too many different occasions
Most helpful comment
@GeorgiAngelov I try your way on aarch64 linux with python2.7 and it didn't work. but the following one works for me.
sudo apt-get install python-gi-cairo