본문 바로가기

IT214

Use Tensorboard on Jupyter Notebook without CLI Use Tensorboard in Jupyter Notebook. 1. tensorflow(-gpu) >= 1.3 2. Check python version and Jupyter Notebook python version are same.3. install jupyter-tensorboard pip(3) install jupyter-tensorboard 4. Restart jupyter notebook! [https://pypi.org/project/jupyter-tensorboard/] 2019. 1. 23.
Hamming Distance The Hamming distance between two integers is the number of positions at which the corresponding bits are different.Given two integers x and y, calculate the Hamming distance.Note: 0 ≤ x, y < 231.Example:Input: x = 1, y = 4 Output: 2 Explanation: 1 (0 0 0 1) 4 (0 1 0 0) ↑ ↑ The above arrows point to positions where the corresponding bits are different. To solve this problem I used XOR operation.M.. 2019. 1. 23.
tensorflow keras running error about initializers (Tensorflow version is 1.8) Error Message contains : "lstm/lstm_cell/recurrent_kernel/Initializer/random_normal" It means that it needs initailizersInitializations define the way to set the initial random weights of Keras layers The keyword arguments used for passing initializers to layers will depend on the layer. Usually it is simply kernel_initializer and bias_initializer:model.add(Dense(64, .. 2019. 1. 22.
Jewels and Stones You're given strings J representing the types of stones that are jewels, and S representing the stones you have. Each character in S is a type of stone you have. You want to know how many of the stones you have are also jewels.The letters in J are guaranteed distinct, and all characters in J and S are letters. Letters are case sensitive, so "a" is considered a different type of stone from "A".Ex.. 2019. 1. 22.
반응형