Skip to content

Instantly share code, notes, and snippets.

@elect000
elect000 / memo.org
Last active December 21, 2018 10:27
usage memo about google cloud platform / deep learning vm

get gpu

  1. “IAM and settings”
  2. “assignment”
  3. check “GPUs(all regions)” and click “assignment settings”
  4. input your phone number
  5. input some information in English
  6. send request

deploy “Deep Learning VM”

enable http/https connection

enable pre-install cuda/tensorflow

@elect000
elect000 / model.py
Created November 29, 2018 10:06
train-test
"""
config.yaml
training:
tfrecords:
- 'imgclassification/dataset/img_dataset_0_[len=600]_train.tfrecord'
- 'imgclassification/dataset/img_dataset_1_[len=600]_train.tfrecord'
length:
- 600
- 600
java -jar jblas-1.2.4.jar
-- org.jblas INFO jblas version is 1.2.4
Simple benchmark for jblas
Running sanity benchmarks.
checking vector addition... ok
-- org.jblas CONFIG BLAS native library not found in path. Copying native library from the archive. Consider installing the library somewhere in the path (for Windows: PATH, for Linux: LD_LIBRARY_PATH).
-- org.jblas CONFIG ArchFlavor native library not found in path. Copying native library libjblas_arch_flavor from the archive. Consider installing the library somewhere in the path (for Windows: PATH, for Linux: LD_LIBRARY_PATH).
-- org.jblas CONFIG Loading libjblas_arch_flavor.so from /lib/static/Linux/amd64/, copying to libjblas_arch_flavor.so.
-- org.jblas ERROR Couldn't load copied link file: java.lang.UnsatisfiedLinkError: /tmp/jblas5239787082843388211/libjblas_arch_flavor.so: libgfortran.so.3: cannot open shared object file: No such file or directory.
@elect000
elect000 / file0.txt
Last active December 29, 2017 20:10
Hadoop3.0.0 にブラウザからアクセスしようとして苦労した話(あとArchLinux) ref: https://qiita.com/elect/items/328c28c310b385de7d23
#ls /sys/firmware/efi/efivars ;; 中身があることを確認
#parted /dev/sda
() mklabel gpt
() mkpart ESP fat32 1MiB 513MiB
() set 1 boot on
() mkpart primary ext4 513MiB 100%
() quit
# lsblk /dev/sda ;; sda1 と sda2を確認
# mkfs.vfat -F32 /dev/sda1
# mkfs.ext4 /dev/sda2