- ubuntu
- python==3.7 가상환경 사용
- python==3.10 버전으로 다시 수정함 (아직 pytorch에서 3.11을 지원하지 않음 22-12-21)
--ipc=host 추가로 에러 해결
ERROR: Unexpected bus error encountered in worker. This might be caused by insufficient shared memory (shm).
docker run --gpus all -it -p 8888:8888 -p 6006:6006 --ipc=host -v $(pwd):/workspace hello:1.0 /bin/bash
docker container run -d -it --name python --ipc=host --gpus 1 python:3.10 docker container exec -it python /bin/bash
cd /root git clone https://github.com/mkocabas/VIBE.git cd VIBE apt update apt install vim libosmesa6-dev freeglut3-dev ffmpeg -y pip install pytube numpy gdown pip install torch torchvision pip install git+https://github.com/giacaglia/pytube.git --upgrade
다음과 같이 버전 정보를 모두 지워준다.
tqdm yacs h5py numpy scipy numba smplx gdown PyYAML joblib pillow trimesh pyrender progress filterpy matplotlib tensorflow tensorboard torchvision scikit-image scikit-video opencv-python llvmlite git+https://github.com/mattloper/chumpy.git git+https://github.com/mkocabas/yolov3-pytorch.git git+https://github.com/mkocabas/multi-person-tracker.git
pip install -r requirements.txt pip install pyglet chmod 777 scripts/prepare_data.sh scripts/prepare_data.sh
python demo.py --vid_file sample_video.mp4 --output_folder output/