Comments (1)
It does not solve your problem in an easy way, but you could install it in a Docker to run your code, in case the problem comes from your Conda installation ?
- Edit pulse.yml : add conda-forge channel, and remove all elements after the second "=" in dependancies (as stated in the README). Change
libfortran=3.0.1
tolibfortran
as this version only works on osx. - Write a Dockerfile in pulse folder:
FROM nvidia/cuda:10.2-runtime
# /!\ the cuda version depends on your computer. Adapt the above line correspondingly.
# Declare some ARGuments
ARG NAME=pulse
# Installation of some libraries / RUN some commands on the base image
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y python3-pip python3-dev \
libz-dev libopenblas-dev libatlas-base-dev libgtk-3-dev \
libboost-filesystem-dev build-essential cmake pkg-config curl && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# INSTALLATION OF CONDA
ENV PATH /opt/conda/bin:$PATH
RUN curl 'https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh' > ~/miniconda.sh && \
/bin/bash ~/miniconda.sh -b -p /opt/conda && \
rm ~/miniconda.sh && \
/opt/conda/bin/conda clean -tipsy && \
ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \
echo ". /opt/conda/etc/profile.d/conda.sh" >> ~/.bashrc && \
echo "conda activate base" >> ~/.bashrc
ENV PATH /opt/conda/envs/gpuenvs/bin:$PATH
WORKDIR /home/${NAME}
# Install the python dependencies
COPY . .
RUN conda update -n base -c defaults conda
RUN conda env create -f pulse.yml
CMD /bin/bash
- Build
docker build –t pulse:latest .
- Run
docker run -it --rm --gpus all --name pulse --entrypoint bash -v "$PWD:/home/pulse" pulse:latest
(you might need to change --gpus all by --runtime==nvidia if your Docker version is older) - Once you are inside the container, your "pulse" folder on your computer is in sync with the "pulse" folder on the docker. You can quit the container, add images, come back in again. Activate the environment by running
conda activate pulse
then run the code like usualpython run.py
.
from pulse.
Related Issues (20)
- RuntimeError: Unknown image file format: Unable to load image in file input/.ipynb_checkpoints
- run.py -> RuntimeError: CUDA out of memory. Have nvidia gpu with enough vram. Have anaconda environment with required packages installed (except maybe dlib->its explained) HOT 1
- illegal hardware instruction In Apple Arm64 HOT 2
- Why is a negative_slope=5 for leakyReLU is introduced here?
- May I take donations for making a video series using this tool?
- CondaValueError: the target prefix is the base prefix. Aborting. HOT 1
- Conda command not found
- Recommended Linux Version?
- Any way to reduce Batch_Size in run.py? HOT 1
- What is "latent tensor" used for?
- NIQE
- Optimization procedure returns the wrong image?
- "conda create -f pulse.yml" failed with "either -n name or -p prefix option required" HOT 3
- Question: Are there any ports of this library to Java/Kotlin? HOT 4
- The speed of the pulse
- run error during test,
- [Windows] Conda - "ResolvePackageNotFound" for some modules HOT 2
- pulse
- how do I use in M1?
- algorithm doesnt perform well on child faces...this is supposed to be a 3 months old :)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pulse.