fomorians / distracted-drivers-tf Goto Github PK
View Code? Open in Web Editor NEWStarter project for the Kaggle State Farm Distracted Driver Detection Competition
Home Page: https://www.kaggle.com/c/state-farm-distracted-driver-detection
Starter project for the Kaggle State Farm Distracted Driver Detection Competition
Home Page: https://www.kaggle.com/c/state-farm-distracted-driver-detection
Would be good if the readme mentioned that tqdm is a prerequisite
pip install tqdm
I use tensorflow1.0 in Ubuntu14,python 3.4
Traceback (most recent call last):
File "main.py", line 12, in
from model import Model
File "F:\distracted-drivers-tf-master\model.py", line 6, in
from layers import Input
File "F:\distracted-drivers-tf-master\layers.py", line 4, in
from tensorflow.python import control_flow_ops
ImportError: cannot import name 'control_flow_ops'
jiapei@jiapei-GT72-6QE:~/Downloads/kaggle/StateFarmDistractedDriverDetection/distracted-drivers-tf$ python main.py
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcublas.so.7.5 locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcudnn.so locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcufft.so.7.5 locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcurand.so.7.5 locally
Loading dataset dataset/data_20.pkl...
('Running fold...', 18001, 4423)
I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:900] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
I tensorflow/core/common_runtime/gpu/gpu_init.cc:102] Found device 0 with properties:
name: GeForce GTX 980M
major: 5 minor: 2 memoryClockRate (GHz) 1.1265
pciBusID 0000:01:00.0
Total memory: 3.99GiB
Free memory: 3.64GiB
I tensorflow/core/common_runtime/gpu/gpu_init.cc:126] DMA: 0
I tensorflow/core/common_runtime/gpu/gpu_init.cc:136] 0: Y
I tensorflow/core/common_runtime/gpu/gpu_device.cc:755] Creating TensorFlow device (/gpu:0) -> (device: 0, name: GeForce GTX 980M, pci bus id: 0000:01:00.0)
WARNING:tensorflow:Passing a GraphDef
to the SummaryWriter is deprecated. Pass a Graph
object instead, such as sess.graph
.
Attempting to restore None...
Could not find checkpoint to restore.
Begin training...
Traceback (most recent call last):
File "main.py", line 55, in
model.train(X_train, y_train, epoch)
File "/home/jiapei/Downloads/kaggle/StateFarmDistractedDriverDetection/distracted-drivers-tf/model.py", line 110, in train
self.is_training: True
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 340, in run
run_metadata_ptr)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 553, in _run
% (np_val.shape, subfeed_t.name, str(subfeed_t.get_shape())))
ValueError: Cannot feed value of shape (50, 3, 32, 24) for Tensor 'Placeholder_1:0', which has shape '(?, 24, 32, 3)'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.