Experiments

Motion_reconstruction paper implementation

자월현 2020. 11. 27.

original paper github: github.com/akanazawa/motion_reconstruction 

 

1. pip error

stackoverflow.com/questions/30656046/permission-denied-error-when-using-pip-install-in-virtualenv

sudo chown -R hskim /home/hskim/.cache

 

2.opencv

datanetworkanalysis.github.io/2020/02/20/opencv_pip

pip install opencv-contrib-python

 

3. tensorflow version - cuda version match

https://stackoverflow.com/questions/50622525/which-tensorflow-and-cuda-version-combinations-are-compatible

 

4. pip install opendr==0.77

 

5.

ln -s source_file symbolic_link

ln -sfn /a/new/path files 

cuda 가 cuda-10.2 로 설정되어있을때 cuda-10.0 으로 바꿀때 nvidia-smi가 이미 되는 상태라면 cuda-libraries만 따로 설치해도 무방할듯. 그리고 nvcc -V가 안되는거라면 cuda-toolkit 만 따로 설치했더니 된다.

 

cuda library만 설치하고 싶을때 sudo apt-get install cuda-libraries-10-0

 

6. cmake file 들은 rm -rf로 지워야 지워짐.

7. atlas랑 protobuf-compiler 따로 설치해줘야하는듯

sudo apt-get install protobuf-compiler

sudo apt-get install libatlas-base-dev

 

8. 리눅스 계정간 공유폴더 만들기. 그룹을 만들자.

www.tecmint.com/create-a-shared-directory-in-linux/

 

How to Create a Shared Directory for All Users in Linux

As a system administrator, you may have a certain directory that you want to give read/write access to every user on a Linux server. In this guide, we will review how to enable write access to all users on a particular directory (shared directory) in Linux

www.tecmint.com

9. cylee 설치 에러

tensorflow -> 흠...

opendr -> 흠...

  x86_64-linux-gnu-gcc: error: contexts/ctx_mesa.c: No such file or directory
  error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for opendr

 

10. pillow  error

pip install --target=/usr/lib/python2.7/site-packages/ --upgrade pillow

github.com/Zulko/moviepy/issues/748

 

ImportError: Imageio Pillow requires Pillow, not PIL! · Issue #748 · Zulko/moviepy

hi, I'm falling into this error, Traceback (most recent call last): File "./script.py", line 255, in add_watermark watermark = (ImageClip("./watermark.png") File "/usr/...

github.com

 

댓글