Skip to content

Commit

Permalink
Fix issues with experimental evaluation. (thank you anon reviewer!)
Browse files Browse the repository at this point in the history
1. Dockerfile requires noninteractive when installing sudo.
2. eth3d dataset directory is mapped into the container.
  • Loading branch information
james-choncholas committed Mar 29, 2024
1 parent 3334995 commit 9acf31d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ docker/
plottertest/
results/
results-paper/
data-eth3d/
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ intermediate ciphertext stored as secret share.
## Experimental Evaluation
First, download the
[eth3d dataset](https://www.eth3d.net/datasets#high-res-multi-view) with the
following commands. These will specifically download the high-res multi-view
undistorted images and ground truth scan evaluation from eth3d.
following commands on the host (outside the container). These will specifically
download the high-res multi-view undistorted images and ground truth scan
evaluation from eth3d.
```bash
sudo apt-get install p7zip-full
mkdir ./data-eth3d
Expand All @@ -69,6 +70,7 @@ mkdir -p results
docker run -it --rm --init \
--net=host \
--name snail-tester \
--volume "$(pwd)/data-eth3d":/snail/data-eth3d \
--volume "$(pwd)/results":/snail/results \
snail-server bash
```
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM ubuntu:22.04

RUN apt update && apt upgrade -y && apt install -y sudo
RUN apt update && apt upgrade -y && DEBIAN_FRONTEND=noninteractive apt install -y sudo
RUN DEBIAN_FRONTEND=noninteractive apt install -y g++ make cmake libgmp-dev libssl-dev libboost-all-dev

RUN DEBIAN_FRONTEND=noninteractive apt install -y software-properties-common cmake git build-essential libssl-dev xxd
Expand Down

0 comments on commit 9acf31d

Please sign in to comment.