This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python ./tools/demo.py --model ./lib/pretrained/VGGnet_fast_rcnn_iter_70000.ckpt | |
Std error: | |
tensorflow.python.framework.errors.NotFoundError: /home/dyc/workspace/TFFRCNN/lib/roi_pooling_layer/roi_pooling.so: undefined symbol: _ZN10tensorflow7strings6StrCatB5cxx11ERKNS0_8AlphaNumE | |
-------------------------------------------------------------------------------- | |
Modify Faster-RCNN_TF/lib/make.sh as below: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Python extract filename and extension from filepath | |
import os | |
inputFilepath = "path/to/file/foobar.txt" | |
filename_w_ext = os.path.basename(inputFilepath) | |
filename, file_extension = os.path.splitext(filename_w_ext) | |
#filename = foobar | |
#file_extension = .txt | |
path, filename = os.path.split("path/to/file/foobar.txt") | |
# path = path/to/file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Install build dependencies | |
sudo dnf groupinstall "Development tools" | |
sudo dnf install mpfr-devel gmp-devel libmpc-devel zlib-devel glibc-devel.i686 glibc-devel | |
wget http://mirror2.babylon.network/gcc/releases/gcc-4.7.4/gcc-4.7.4.tar.bz2 | |
tar xvfj gcc-4.7.4.tar.bz2 | |
cd gcc-4.7.4 |