Skip to content

Commit

Permalink
Add exports to PyTorch
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Crawford committed Apr 27, 2018
1 parent 9673bcc commit 546da7d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@ RUN apt-get update && \
#./waf configure --mode=release --build-static --with-python --with-cpptests --with-examples --with-vamp && \
#./waf && ./waf install && mv /usr/local/lib/python3.6/site-packages/essentia /opt/conda/lib/python3.6 && \
# PyTorch
export CXXFLAGS="-std=c++11" && \
export CFLAGS="-std=c99" && \
conda install -y pytorch torchvision -c pytorch && \
# PyTorch Audio
apt-get install -y sox libsox-dev libsox-fmt-all && \
Expand Down

0 comments on commit 546da7d

Please sign in to comment.