글

[Tech With Tim] How to Install TensorFlow GPU on Linux

이미지
*** Python Neural Networks with TensorFlow 9 : How to Install TensorFlow GPU on Linux # Add NVIDIA package repositories wget https://developer.download.nvidia.com... sudo dpkg -i cuda-repo-ubuntu1804_10.0.130-1_amd64.deb sudo apt-key adv --fetch-keys https://developer.download.nvidia.com... sudo apt-get update wget http://developer.download.nvidia.com/... sudo apt install ./nvidia-machine-learning-repo-ubuntu1804_1.0.0-1_amd64.deb sudo apt-get update # Install NVIDIA driver sudo apt-get install --no-install-recommends nvidia-driver-410 # Reboot. Check that GPUs are visible using the command: nvidia-smi # Install development and runtime libraries (~4GB) sudo apt-get install --no-install-recommends \ cuda-10-0 \ libcudnn7=7.4.1.5-1+cuda10.0 \ libcudnn7-dev=7.4.1.5-1+cuda10.0 # Install TensorRT. Requires that libcudnn7 is installed above. sudo apt-get update && \ sudo apt-get install nvinfer-runtime-trt-repo-ubuntu1804-5.0.2-ga-cuda10.0 \ ...

[Tech With Tim] Tensorflow 2.0 Tutorial - Saving & Loading Models - Text Classification P4

이미지
*** Python Neural Networks with TensorFlow 8 : Text Classification P4 - Saving the Model - Loading the Model - Making Predictions ***  Text-Based Tutorial: https://techwithtim.net/tutorials/pyt...

[Tech With Tim] TensorFlow 2.0 Tutorial - Training the Model - Text Classification P3

이미지
*** Python Neural Networks with TensorFlow 7 : Text Classification P3 - Validation Data - Training the Model - Testing the Model ***  Text-Based Tutorial: https://techwithtim.net/tutorials/pyt... *** About Train, Validation and Test Sets in Machine Learning ● Training Dataset - The sample of data used to fit the model. - The actual dataset that we use to train the model (weights and biases in the case of Neural Network). The model sees and learns from this data ● Validation Dataset - The sample of data used to provide an unbiased evaluation of a model fie on the training dataset while tuning model hyperparameters. The evaluation becomes more biased as skill on the validation dataset is incorporated into the model configuration. - The validation set is used to evaluate a given model, but this is for frequent evaluation. We as machine learning engineers use this data to fine-tune the model hyperparameters. Hence the model occasionally sees this dat...

[Tech With Tim] Tensorflow 2.0 Tutorial - What is an Embedding Layer? Text Classification P2

이미지
*** Python Neural Networks with TensorFlow 6 : Text Classification P2, What is an Embedding Layer? - Understanding the Model Architecture Word Embedding Layer GlobalAveragePooling1D Layer Dense Layer ***  Text-Based Tutorial: https://techwithtim.net/tutorials/pyt...

[Tech With Tim] Python Neural Networks - Tensorflow 2.0 Tutorial - Text Classification P1

이미지
*** Python Neural Networks with TensorFlow 5 : Text Classification P1 - Text Classification - Install Previous Version of Numpy - Loading Data (keras.datasets.imdb) - Integer Encoded Data - Preprocessing Data - Defining the Model ***  Text-Based Tutorial: https://techwithtim.net/tutorials/pyt...

[Tech With Tim] Python Neural Networks - Tensorflow 2.0 Tutorial - Using the Model to Make Predictions

이미지
*** Python Neural Network with TensorFlow 4 : Using the Model to Make Predictions - Using the Model - Prediction (.predict()) ***  Text-Based Tutorial: https://techwithtim.net/tutorials/pyt...

[Tech With Tim] Python Neural Networks - Tensorflow 2.0 Tutorial - Creating a Model

이미지
*** Python Neural Network with TensorFlow 3 : Creating a Model - Creating the Model (keras, 3 layers, 784 neurons) - Training the Model - Testing the Model ***  Text-Based Tutorial: https://techwithtim.net/tutorials/pyt...