forked from omron-sinicx/neural-astar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Introduce PTL functions * Update checkpoint * Update dockerfile * fix scripts
- Loading branch information
1 parent
e3e85c4
commit 436a2ba
Showing
8 changed files
with
112 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
.venv | ||
**/*.egg-info/ | ||
**/__pycache__/ | ||
**/lightning_logs | ||
.ipynb_checkpoints/ | ||
model | ||
outputs | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,23 @@ | ||
FROM pytorch/pytorch:1.13.1-cuda11.6-cudnn8-devel | ||
FROM nvidia/cuda:11.6.0-cudnn8-devel-ubuntu20.04 | ||
|
||
WORKDIR /workspace | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
RUN apt-get -y update && apt-get -y install --no-install-recommends software-properties-common libgl1-mesa-dev wget libssl-dev | ||
|
||
RUN apt-get -y install --no-install-recommends python3.8-dev python3.8-distutils python3-pip python3.8-venv | ||
# Set default python | ||
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.8 1 | ||
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1 | ||
|
||
# clear cache | ||
RUN rm -rf /var/lib/apt/lists/* | ||
|
||
RUN pip install -U pip setuptools | ||
RUN pip3 install -U pip distlib setuptools wheel | ||
|
||
WORKDIR /workspace | ||
|
||
WORKDIR /workspace | ||
COPY src/ src/ | ||
COPY pyproject.toml . | ||
RUN pip install -e .[dev] | ||
RUN pip3 install -e .[dev] | ||
RUN pip3 uninstall -y torch torchvision | ||
RUN pip3 install torch==1.12.1 torchvision==0.13.1 --extra-index-url https://download.pytorch.org/whl/cu116 |
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file renamed
BIN
+1.51 MB
model/mazes_032_moore_c8/best.pt → ...sion_0/checkpoints/epoch=33-step=272.ckpt
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters