File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66def 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
1111djc_global_loss_list ['dummy_loss' ]= dummy_loss
Original file line number Diff line number Diff line change @@ -64,11 +64,10 @@ RUN pip3 install gpustat setGPU
6464
6565## torch/jupyter stuff
6666RUN 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
7877RUN adduser --disabled-password --gecos "" dummyuser
7978RUN apt-get install -y vim
8079
80+ #some tex things
81+ RUN apt install -y texlive ghostscript dvipng
82+
83+
8184
8285
8386
Original file line number Diff line number Diff line change 11
2- FROM cernml4reco/djcbase:py3
2+ FROM cernml4reco/djcbase:latest
33
44
55
66################################################################################
77# Tensorflow
88
99RUN 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
You can’t perform that action at this time.
0 commit comments