From 0bbd7bc38e4f9f14f610961e34968f128613af52 Mon Sep 17 00:00:00 2001 From: typhoonzero Date: Fri, 2 Feb 2018 11:05:19 +0800 Subject: [PATCH] follow comments --- benchmark/cluster/vgg16/Dockerfile | 4 +++- paddle/gserver/layers/MultiBoxLossLayer.h | 13 ------------- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/benchmark/cluster/vgg16/Dockerfile b/benchmark/cluster/vgg16/Dockerfile index 54d1b09a0f2..888486bece2 100644 --- a/benchmark/cluster/vgg16/Dockerfile +++ b/benchmark/cluster/vgg16/Dockerfile @@ -1,4 +1,6 @@ -FROM python:2.7.14 +#FROM python:2.7.14 +FROM nvidia/cuda:8.0-runtime-ubuntu16.04 +RUN apt-get update && apt-get install -y python RUN pip install -U kubernetes opencv-python && apt-get update -y && apt-get install -y iputils-ping libgtk2.0-dev # NOTE: By default CI built wheel packages turn WITH_DISTRIBUTE=OFF, # so we must build one with distribute support to install in this image. diff --git a/paddle/gserver/layers/MultiBoxLossLayer.h b/paddle/gserver/layers/MultiBoxLossLayer.h index 40df312a254..9935da56446 100644 --- a/paddle/gserver/layers/MultiBoxLossLayer.h +++ b/paddle/gserver/layers/MultiBoxLossLayer.h @@ -1,16 +1,3 @@ -// Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserve. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. /* copyright (c) 2016 paddlepaddle authors. all rights reserve. licensed under the apache license, version 2.0 (the "license"); -- GitLab