https://github.com/NVIDIA/DIGITS
Revision b4f326186f5f02b6fd08e19a771735298808e7b3 authored by Luke Yeager on 22 April 2015, 20:33:40 UTC, committed by Luke Yeager on 22 April 2015, 20:33:40 UTC
"half_crop" is not used in any deep learning research and should not be
chosen as the default. Also, for some datasets the network can simply
learn the shape of the noise (e.g. one category may be bottles, so the
network learns that all tall and thin images with noise on the left and
right is a bottle)
1 parent 628496d
Raw File
Tip revision: b4f326186f5f02b6fd08e19a771735298808e7b3 authored by Luke Yeager on 22 April 2015, 20:33:40 UTC
Change default resize mode to squash
Tip revision: b4f3261
nginx.site
# Montessori nginx site

server {
    listen 80;

    # Gunicorn server
    location / {
        proxy_pass http://127.0.0.1:8080;
        proxy_redirect off;

        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    }

    # Socketio
    location /socket.io {
        proxy_pass http://127.0.0.1:8080/socket.io;
        proxy_redirect off;
        proxy_buffering off;

        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "Upgrade";
    }

    # Static files
    # TODO: Set these locations yourself
#    location /static {
#        alias /MY_DIGITS_DIR/digits/static;
#    }
#    location /files {
#        alias /MY_JOBS_DIR;
#        autoindex on;
#        autoindex_exact_size off;
#        autoindex_localtime on;
#    }
}
back to top