As explained in the doc
brew install gcc --without-multilib
git clone --recursive https://github.com/dmlc/xgboost
cd xgboost; cp make/config.mk ./config.mk
Open and modify CC and CXX parameters in config.mk
, for example:
#!/bin/bash | |
echo "Download VEDAI datasets" | |
help() { | |
echo "No arguments supplied. Usage: sh download.sh <dataset>" | |
echo " <dataset>: 512, 1024, devkit" | |
} | |
if [ -z $1 ]; then |
# coding: utf-8 | |
# Example cross-validation training convnet on CIFAR10 | |
from tensorpack import * | |
import tensorflow as tf | |
import argparse | |
import numpy as np | |
import os |
As explained in the doc
brew install gcc --without-multilib
git clone --recursive https://github.com/dmlc/xgboost
cd xgboost; cp make/config.mk ./config.mk
Open and modify CC and CXX parameters in config.mk
, for example: