Release/0.9 (#141)
* add flake8 and prettier to pre-commit-config * add setup.cfg * add workers=True to seed_everything() * update lightning badge logo * bump package versions * update README.md * add __init__.py files * add more logger configs parameters * add default Dockerfile * change .env.template to .env.example * move inference example to readme * remove img_dataset.py * simplify names of wandb callbacks * remove wandb test marker * format files with prettier
This commit is contained in:
1 parent
023d4bdecc
commit
70ab061f75
49 files changed
+473
-415
No files matched your search
+22
@@ -0,0 +1,22 @@
|
||||
# Build: docker build -t project_name .
|
||||
# Run: docker run --gpus all -it --rm project_name
|
||||
|
||||
# Build from official Nvidia PyTorch image
|
||||
# GPU-ready with Apex for mixed-precision support
|
||||
# https://ngc.nvidia.com/catalog/containers/nvidia:pytorch
|
||||
# https://docs.nvidia.com/deeplearning/frameworks/support-matrix/
|
||||
FROM nvcr.io/nvidia/pytorch:21.03-py3
|
||||
|
||||
|
||||
# Copy all files
|
||||
ADD . /workspace/project
|
||||
WORKDIR /workspace/project
|
||||
|
||||
|
||||
# Create myenv
|
||||
RUN conda env create -f conda_env_gpu.yaml -n myenv
|
||||
RUN conda init bash
|
||||
|
||||
|
||||
# Set myenv to default virtual environment
|
||||
RUN echo "source activate myenv" >> ~/.bashrc
|
||||
Reference in new issue
Block a user