[返回] [最新] [最热门] [最高评价]

Some modifications about SSD-Tensorflow

In the previous article, I introduced a new library for Object Detection. But yesterday, after I added slim.batch_norm() into ‘nets/ssd_vgg_512.py’ like this:

def ssd_arg_scope(weight_dec
...

Robin Dong 2018-09-13 10:54 | 查看: 262

Choosing a Object Detection Framework written by Tensorflow

Recently I need to train a DNN model for object detection task. In the past, I am using the object detection framework from tensorflows’s subject — models. But there are two reasons that I
...

Robin Dong 2018-09-07 15:23 | 查看: 312

Finding core-dump file

In a new server, my program got ‘core dump’. But I haven’t found the core-dump file in the current directory as usual.

First I checked the ‘ulimit’ configuration:

core
...

Robin Dong 2018-08-31 11:42 | 查看: 258

Migrate blog to AWS’s ec2

My blog had been hosting on Linost since 2013. But recently support staff from Linost noticed me that my site has led CPU usage of the host machine to 100% so the hosting system automatically ‘l
...

Robin Dong 2018-08-24 11:53 | 查看: 253

Source code analysis for Autograd

Autograd is a convenient tool to automatically differentiate native Python and Numpy code.

Let’s look at an example first:

import autograd.numpy as np
from autograd import grad

def f(x):
re
...

Robin Dong 2018-08-23 12:07 | 查看: 235

Prediction of Red Wine Quality

In Kaggle platform, there is an example dataset about Quality of Red Wine. I wrote some code for it by using scikit-learn and pandas:

import pandas as pd

from sklearn.preprocessing import StandardSc
...

Robin Dong 2018-08-10 14:22 | 查看: 92

Use PCA (Principal Component Analysis) to blur color image

I wrote an example of blurring color picture by using PCA from scikit-learn:

import cv2
import numpy as np

from sklearn.decomposition import PCA

pca = PCA(n_components = 0.96)

img = cv2.imread(&qu
...

Robin Dong 2018-08-03 11:33 | 查看: 19

Do tf.random_crop() operation on GPU

When I run code like:

with tf.device('/GPU:0'):
images = tf.random_crop(images, [IMAGE_HEIGHT, IMAGE_WIDTH, IMAGE_CHANNELS])
...
it reports:

Could not satisfy explicit device specification '/devic
...

Robin Dong 2018-07-27 15:12 | 查看: 21

Regularization loss in ‘slim’ library of Tensorflow

My python code using slim library to train classification model in Tensorflow:

with tf.contrib.slim.arg_scope(mobilenet_v2.training_scope(weight_decay = 0.001)):
logits, _ = mobilenet_v2.mobile
...

Robin Dong 2018-07-19 15:16 | 查看: 35

Using multi-GPUs for training in distributed environment of Tensorflow

I am trying to write code for training on multi-GPUs. The code is mainly from the example of ‘Distributed Tensorflow‘. I have changed the code slightly for runing on GPU:

...
tf.train.rep
...

Robin Dong 2018-07-13 16:31 | 查看: 19

Reinforcement Learning example for tree search

I have been learning Reinforcement Learning for about two weeks. Although haven’t go through all the course of Arthur Juliani, I had been able to write a small example of Q-learning now.

This e
...

Robin Dong 2018-07-05 11:06 | 查看: 15

Problems and solutions about building Tensorflow-1.8 with TensorRT 4.0

Problem:

When compiling Tensorflow-1.8 with CUDA-9.2, it reports:

bazel-out/host/bin/_solib_local/_U_S_Stensorflow_Spython_Cgen_Unn_Uops_Upy_Uwrappers_Ucc___Utensorflow/libtensorflow_framework.so: u
...

Robin Dong 2018-06-29 10:41 | 查看: 21

...更多...