Skip to content

Commit 5f10559

Browse files
committed
mostly new containers
1 parent 6f6f19c commit 5f10559

3 files changed

Lines changed: 11 additions & 8 deletions

File tree

DJCLosses.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
def dummy_loss(truth, pred):
77
#t = tf.Print(truth,[truth],'truth ')
88
#p = tf.Print(pred,[pred],'pred ')
9-
return tf.reduce_mean(truth)+tf.reduce_mean(pred)
9+
return (tf.reduce_mean(truth)-tf.reduce_mean(pred))**2
1010

1111
djc_global_loss_list['dummy_loss']=dummy_loss

docker/Dockerfile_base

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,10 @@ RUN pip3 install gpustat setGPU
6464

6565
## torch/jupyter stuff
6666
RUN pip3 install future gensim jupyter prompt-toolkit
67-
RUN export CUDA="cu101" && \
68-
pip3 install torch-scatter==latest+${CUDA} -f https://pytorch-geometric.com/whl/torch-1.4.0.html && \
69-
pip3 install torch-sparse==latest+${CUDA} -f https://pytorch-geometric.com/whl/torch-1.4.0.html && \
70-
pip3 install torch-cluster==latest+${CUDA} -f https://pytorch-geometric.com/whl/torch-1.4.0.html && \
71-
pip3 install torch-spline-conv==latest+${CUDA} -f https://pytorch-geometric.com/whl/torch-1.4.0.html && \
67+
RUN pip3 install torch-scatter==latest+cu101 -f https://pytorch-geometric.com/whl/torch-1.6.0.html && \
68+
pip3 install torch-sparse==latest+cu101 -f https://pytorch-geometric.com/whl/torch-1.6.0.html && \
69+
pip3 install torch-cluster==latest+cu101 -f https://pytorch-geometric.com/whl/torch-1.6.0.html && \
70+
pip3 install torch-spline-conv==latest+cu101 -f https://pytorch-geometric.com/whl/torch-1.6.0.html && \
7271
pip3 install torch-geometric
7372

7473

@@ -78,6 +77,10 @@ EXPOSE 8888
7877
RUN adduser --disabled-password --gecos "" dummyuser
7978
RUN apt-get install -y vim
8079

80+
#some tex things
81+
RUN apt install -y texlive ghostscript dvipng
82+
83+
8184

8285

8386

docker/Dockerfile_exp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11

2-
FROM cernml4reco/djcbase:py3
2+
FROM cernml4reco/djcbase:latest
33

44

55

66
################################################################################
77
# Tensorflow
88

99
RUN export DEBIAN_FRONTEND=noninteractive && \
10-
pip3 --no-cache-dir install tensorflow-gpu==2.2.0
10+
pip3 --no-cache-dir install tensorflow-gpu==2.3.0
1111

1212

1313
#2.2.0-rc2

0 commit comments

Comments
 (0)