cd MEMFOF
git clone https://github.com/msu-video-group/memfof.git
cd memfof
# Create a new conda environment with Python 3.11
conda create -n memfof -y python=3.11
# Activate the created environment
conda activate memfof
# Install the required Python packages
pip3 install -r requirements.txt
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu128
cd ..
python ../gen_video2imgs.py
python infer.py
python onnx_export.py
// a file '.onnx' will be generated in onnx directory.
conda activate trte
python onnx2trt.py
// a file '.engine' will be generated in engine directory.