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

Compare implementation of tf.AdamOptimizer to its paper

When I reviewed the implementation of Adam optimizer in tensorflow yesterday, I noticed that it’s code is different from the formulas that I saw in Adam’s paper. In tensorflow’s form
...

Robin Dong 2018-11-16 16:01 | 查看: 147

The bug about using hooks and MirroredStrategy in tf.estimator.Estimator

When I was using MirroedStrategy in my tf.estimator.Estimator:

distribution = tf.contrib.distribute.MirroredStrategy(
["/device:GPU:0", "/device:GPU:1"])
config = tf.estimat
...

Robin Dong 2018-11-09 14:25 | 查看: 231

Some lessons from Kaggle’s competition

About two months ago, I joined the competition of ‘RSNA Pneumonia Detection’ in Kaggle. It’s ended yesterday, but I still have many experiences and lessons to be rethinking.

1. Augm
...

Robin Dong 2018-11-02 13:23 | 查看: 284

How could it possible to assign an integer to string?

The snippet below could be compiled and run:

#include <map>
#include <string>
#include <iostream>

using namespace std;

int main(void) {
std::map<std::string, std::string>
...

Robin Dong 2018-10-22 11:12 | 查看: 317

Move semantics in C++11

After studying an example for Move Semantics of C++11, I write a more complete code snippet:

#include <iostream>

using namespace std;

class Intvec {
public:
explicit Intvec(size_t num =
...

Robin Dong 2018-10-19 15:18 | 查看: 577

How Tensorflow set device for each Operation ?

In Tensorflow, we only need to use snippet below to assign a device to a Operation:

with tf.device('/GPU:0'):
...
result = tf.matmul(a, b)
How dose it implement? Let’s take a look.

There i
...

Robin Dong 2018-10-12 11:41 | 查看: 371

Some tips about using google’s TPU (Cont.)

Sometimes I get this error from TPUEstimator:

...
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 900, in run
...

Robin Dong 2018-09-28 16:23 | 查看: 633

Some tips about using google’s TPU

About one month ago, I submit a request to Google Research Cloud for using TPU for free. Fortunately, I received the approvement yesterday. The approvement let me use 5 regular Cloud TPUs and 100 pree
...

Robin Dong 2018-09-21 16:22 | 查看: 409

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 | 查看: 522

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 | 查看: 394

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 | 查看: 312

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 | 查看: 329

...更多...