-
Notifications
You must be signed in to change notification settings - Fork 0
/
Notes.txt
56 lines (39 loc) · 2.31 KB
/
Notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
TF 1.6 = Densenet
====================
REPO:
https://github.com/titu1994/DenseNet
RUN:
python densenet.py
ISSUE:
File "/usr/prakt/w107/lib/tensorflow140_py352_gpu/lib/python3.5/site-packages/keras/activations.py", line 29, in softmax
return K.softmax(x)
File "/usr/prakt/w107/lib/tensorflow140_py352_gpu/lib/python3.5/site-packages/keras/backend/tensorflow_backend.py", line 2963, in softmax
return tf.nn.softmax(x, axis=axis)
RESOLUTION (Downgrade keras):
pip3 install --upgrade keras==2.1.3
====================
TF 1.7 with Cuda 9.1
https://github.com/mind/wheels/releases/tag/tf1.7-gpu-cuda91-nomkl
virtualenv --system-site-packages -p python3 tf17_py35_cuda91_cudnn71_gpu
source tf17_py35_cuda91_cudnn71_gpu/bin/activate
easy_install -U pip
pip3 install --upgrade https://github.com/mind/wheels/releases/download/tf1.7-gpu-cuda91-nomkl/tensorflow-1.7.0-cp35-cp35m-linux_x86_64.whl
pip install matplotlib
pip install bunch
pip install pudb
pip install tqdm
pip install keras
pip install opencv-python
=======================
Changed TF library from 1.7 to 1.4
tensorflow.python.framework.errors_impl.FailedPreconditionError: Attempting to use uninitialized value block1_conv1/bias
[[Node: block1_conv1/bias/_16 = _Send[T=DT_FLOAT, client_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device_incarnation=1, te
nsor_name="edge_62_block1_conv1/bias", _device="/job:localhost/replica:0/task:0/device:GPU:0"](block1_conv1/bias)]]
[[Node: dense/bias/_69 = _Recv[_start_time=0, client_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device_incarnation=1, tensor
_name="edge_114_dense/bias", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"]()]]
========================
https://github.com/Tony607/Keras_catVSdog_tf_estimator/blob/master/keras_estimator_vgg16-cat_vs_dog.ipynb
https://github.com/Tony607/Keras_catVSdog_tf_estimator/blob/master/keras_estimator_vgg16-cat_vs_dog-TFRecord.ipynb
https://github.com/fchollet/deep-learning-with-python-notebooks/blob/master/5.3-using-a-pretrained-convnet.ipynb
========================
https://github.com/fchollet/deep-learning-models/releases/download/v0.2