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
{ | |
"string": "{{ string }}", | |
"int": {{ int }} | |
} |
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
from __future__ import absolute_import | |
import numpy as np | |
class Accumulators(object): | |
_accumulator_library = {} | |
def __init__(self): | |
self.accumulator_library = {} |
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
FROM dmlc/mxnet:cuda | |
MAINTAINER answeror <[email protected]> | |
ENV LD_LIBRARY_PATH /usr/local/cuda/lib64:/usr/local/nvidia/lib:/usr/local/nvidia/lib64 | |
RUN cd /mxnet && git pull origin master && git submodule update | |
ADD src/io/image_aug_default.cc /mxnet/src/io/image_aug_default.cc | |
RUN cd /mxnet && make -j8 ADD_LDFLAGS=-L/usr/local/cuda/lib64/stubs | |
ADD example/image-classification/symbol_resnet.py /mxnet/example/image-classification/symbol_resnet.py | |
ADD example/image-classification/train_cifar10_resnet.py /mxnet/example/image-classification/train_cifar10_resnet.py |
OlderNewer