How to read values from csv files * 파이썬에서 csv파일 읽기 *** Assme you have test.csv file that stores some values; You can read the values in python using the following example code // CODE //////////////////////////////////// import tensorflow as tf import numpy as np import skimage.io as io import csv import os def get_csv_reader(filename, delimiter): reader = [] if not os.path.isfile(filename): print("No such file or directory!") e.. 더보기 [nvidia] How to deal with infinite log-in error ** 우분투 무한 로그인 에러 해결 ** Background : ubuntu16.04LTS + gtx1070 After installing GPU driver (downloaded from NVIDIA homepage) on ubuntu, I sometimes encounter 'infinite log-in error'. This is my temporary solution. "Just re-install" step1) open terminal by typing 'ctrl+alt+f1' step2) type password for log-in step3) move to directory where the graphic card driver installation file exists. (NVIDIA-XX.. 더보기 [tensorflow] How to load a mini-batch from tfrecord and feed it to CNN ** tfrecord 파일로 부터 random mini-batch 만들고 CNN에 feed_dict 형식으로 입력 ** step1) load a mini-batch from tfrecord by tf.train.shuffle_batch()step2) use tf.placeholder_with_default() to convert the tensor (of size mini_batch_size) to numpy array // PSEUDO CODE ///////////////////////////////////import tensorflow as tfimport osimport numpy as npimport network as net def _get_image_and_label(param): ## dir.. 더보기 이전 1 ··· 62 63 64 65 66 67 68 69 다음