open-mmlab / denseflow

Extracting optical flow and frames

Home Page:https://open-mmlab.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: boost::filesystem::create_directories: Function not implemented

ShunLu91 opened this issue · comments

All the requirements were successfully installed and there is no error occurred.
However, when I use denseflow to extract frames from videos, specifically the HMDB-51 datasets, such error appears:
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/run/Two_Towers_1_run_f_cm_np2_fr_med_4"
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/situp/Personal_Training_Workout_Tips_situp_f_nm_np1_le_goo_1"
both 230 run/Two_Towers_1_run_f_cm_np2_fr_med_4.avi tvl1 done
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/talk/Prelinger_FamilyLi1949_talk_h_nm_np1_fr_goo_15"
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/hit/Schnaaper_Crew__Eisbaden_(2007)hit_f_cm_np1_le_bad_3"
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/flic_flac/Acrobacias_de_un_fenomeno_flic_flac_f_cm_np1_fr_bad_1"
both 442 situp/Personal_Training_Workout_Tips_situp_f_nm_np1_le_goo_1.avi tvl1 done
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/somersault/Dive_and_roll_compilation
(Parkour)somersault_f_cm_np1_fr_bad_0"
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/swing_baseball/BaseballSwingAnalysis_swing_baseball_f_nm_np1_fr_med_8"
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/wave/CharlieAndTheChocolateFactory_wave_u_nm_np1_fr_med_2"
both 1502 somersault/Dive_and_roll_compilation
(Parkour)somersault_f_cm_np1_fr_bad_0.avi tvl1 done
both 18 swing_baseball/BaseballSwingAnalysis_swing_baseball_f_nm_np1_fr_med_8.avi tvl1 done
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/run/THE_PROTECTOR_run_f_cm_np1_le_med_15"
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/situp/6_Minute_Abs_Routine_situp_f_nm_np2_le_bad_1"
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/talk/Prelinger_FamilyLi1949_talk_h_nm_np1_fr_goo_15"
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/flic_flac/Acrobacias_de_un_fenomeno_flic_flac_f_cm_np1_fr_bad_1"
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/hit/Schnaaper_Crew__Eisbaden
(2007)hit_f_cm_np1_le_bad_3"
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/swing_baseball/practicingmybaseballswing2009_swing_baseball_f_cm_np1_fr_med_19"
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/somersault/Handstandk_nig_somersault_f_cm_np1_ba_med_5"
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/wave/CharlieAndTheChocolateFactory_wave_u_nm_np1_fr_med_2"
both 653 flic_flac/Acrobacias_de_un_fenomeno_flic_flac_f_cm_np1_fr_bad_1.avi tvl1 done
both 867 hit/Schnaaper_Crew__Eisbaden
(2007)_hit_f_cm_np1_le_bad_3.avi tvl1 done
both 1078 talk/Prelinger_FamilyLi1949_talk_h_nm_np1_fr_goo_15.avi tvl1 done
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/run/THE_PROTECTOR_run_f_cm_np1_le_med_15"
boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/situp/6_Minute_Abs_Routine_situp_f_nm_np2_le_bad_1"
Raw frames (RGB and Flow) Generated

Wait for help and great thanks to you.

commented

Perhaps the system is old? This thread might be related boostorg/filesystem#172

All the requirements were successfully installed and there is no error occurred. However, when I use denseflow to extract frames from videos, specifically the HMDB-51 datasets, such error appears: boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/run/Two_Towers_1_run_f_cm_np2_fr_med_4" boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/situp/Personal_Training_Workout_Tips_situp_f_nm_np1_le_goo_1" both 230 run/Two_Towers_1_run_f_cm_np2_fr_med_4.avi tvl1 done boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/talk/Prelinger_FamilyLi1949_talk_h_nm_np1_fr_goo_15" boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/hit/Schnaaper_Crew__Eisbaden_(2007)hit_f_cm_np1_le_bad_3" boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/flic_flac/Acrobacias_de_un_fenomeno_flic_flac_f_cm_np1_fr_bad_1" both 442 situp/Personal_Training_Workout_Tips_situp_f_nm_np1_le_goo_1.avi tvl1 done boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/somersault/Dive_and_roll_compilation(Parkour)somersault_f_cm_np1_fr_bad_0" boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/swing_baseball/BaseballSwingAnalysis_swing_baseball_f_nm_np1_fr_med_8" boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/wave/CharlieAndTheChocolateFactory_wave_u_nm_np1_fr_med_2" both 1502 somersault/Dive_and_roll_compilation(Parkour)somersault_f_cm_np1_fr_bad_0.avi tvl1 done both 18 swing_baseball/BaseballSwingAnalysis_swing_baseball_f_nm_np1_fr_med_8.avi tvl1 done boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/run/THE_PROTECTOR_run_f_cm_np1_le_med_15" boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/situp/6_Minute_Abs_Routine_situp_f_nm_np2_le_bad_1" boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/talk/Prelinger_FamilyLi1949_talk_h_nm_np1_fr_goo_15" boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/flic_flac/Acrobacias_de_un_fenomeno_flic_flac_f_cm_np1_fr_bad_1" boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/hit/Schnaaper_Crew__Eisbaden(2007)hit_f_cm_np1_le_bad_3" boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/swing_baseball/practicingmybaseballswing2009_swing_baseball_f_cm_np1_fr_med_19" boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/somersault/Handstandk_nig_somersault_f_cm_np1_ba_med_5" boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/wave/CharlieAndTheChocolateFactory_wave_u_nm_np1_fr_med_2" both 653 flic_flac/Acrobacias_de_un_fenomeno_flic_flac_f_cm_np1_fr_bad_1.avi tvl1 done both 867 hit/Schnaaper_Crew__Eisbaden(2007)_hit_f_cm_np1_le_bad_3.avi tvl1 done both 1078 talk/Prelinger_FamilyLi1949_talk_h_nm_np1_fr_goo_15.avi tvl1 done boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/run/THE_PROTECTOR_run_f_cm_np1_le_med_15" boost::filesystem::create_directories: Function not implemented: "../../data/hmdb51/rawframes/situp/6_Minute_Abs_Routine_situp_f_nm_np2_le_bad_1" Raw frames (RGB and Flow) Generated

Wait for help and great thanks to you.

I have the same error, any progress?

Sorry, I did not found a solution.
I needed the denseflow for the video dataset processing in Video-Swin-Transformer, but later I found that it also provided a method to process the dataset without denseflow.
Therefore, I gave up installing the denseflow.

I have the same error, is there any progress?

(flow) root@interactive93185:/opt/data/private/msl# denseflow /opt/data/private/msl/video_validation_0000052 -b=20 -a=tvl1 -s=1 -if -v
boost::filesystem::create_directories: Function not implemented: "./video_validation_0000052"

The author has fixed this problem by adding "BOOST_FILESYSTEM_DISABLE_STATX", I tried to install the latest version and set the usage of statx() as false, it works. Hope the script below would help you.

#!/bin/bash
# install boost
set -e

ROOTDIR=${ZZROOT:-$HOME/app}
NAME="boost"
TYPE=".tar.gz"
VERSION="1.83.0"
FILE="$NAME-$VERSION$TYPE"
DOWNLOADURL="https://boostorg.jfrog.io/artifactory/main/release/1.83.0/source/boost_1_83_0.tar.gz"
echo $NAME will be installed in "$ROOTDIR"

mkdir -p "$ROOTDIR/downloads"
cd "$ROOTDIR"

if [ -f "downloads/$FILE" ]; then
    echo "downloads/$FILE exist"
else
    echo "$FILE does not exist, downloading from $DOWNLOADURL"
    wget $DOWNLOADURL -O $FILE
    mv $FILE downloads/
fi

mkdir -p src/$NAME
tar xf downloads/$FILE -C src/$NAME --strip-components 1

# export CC=/mnt/lustre/lizz/app/bin/gcc
# export CXX=/mnt/lustre/lizz/app/bin/g++
# export CPLUS_INCLUDE_PATH="$CPLUS_INCLUDE_PATH:/mnt/lustre/lizz/anaconda3/include/python3.7m/"

cd src/$NAME
./bootstrap.sh --prefix="$ROOTDIR"
./b2 -a define=BOOST_FILESYSTEM_DISABLE_STATX install 

echo $NAME installed on "$ROOTDIR"
echo add following line to .zshrc
echo export BOOST_ROOT="$ROOTDIR"

Please make sure you delete this folder: /root/app/lib/cmake/Boost-1.76.0.