Learn practical skills, build real-world projects, and advance your career
Updated 4 years ago
# Jovian Commit Essentials
# Please retain and execute this cell without modifying the contents for `jovian.commit` to work
!pip install jovian --upgrade -q
import jovian
jovian.utils.colab.set_colab_file_id('1FT-A2smlmAYRhEwcPypQdNcEB0EzPNmn')
!pip install jovian --upgrade --quiet
import numpy as np
from keras.datasets.mnist import load_data
from keras.models import Sequential
from keras.optimizers import Adam
from keras.layers import Dense
from keras.layers import Conv2D
from keras.layers import Flatten
from keras.layers import Dropout
from keras.layers import LeakyReLU
from keras.utils.vis_utils import plot_model
from numpy import vstack
from numpy import ones
from numpy import zeros
from numpy.random import rand,randn
from numpy.random import randint
from numpy import expand_dims
from keras.layers import Reshape
from keras.layers import Conv2DTranspose
from matplotlib import pyplot
!pip install jovian
Collecting jovian
Downloading https://files.pythonhosted.org/packages/27/6f/ec36e102fba4a767bb2e7cd6fa5ec6e34f6bfd4788ca47c9afd95ce2b4e2/jovian-0.2.18-py2.py3-none-any.whl (64kB)
|████████████████████████████████| 71kB 2.2MB/s eta 0:00:011
Collecting uuid
Downloading https://files.pythonhosted.org/packages/ce/63/f42f5aa951ebf2c8dac81f77a8edcc1c218640a2a35a03b9ff2d4aa64c3d/uuid-1.30.tar.gz
Requirement already satisfied: click in /usr/local/lib/python3.6/dist-packages (from jovian) (7.1.2)
Requirement already satisfied: requests in /usr/local/lib/python3.6/dist-packages (from jovian) (2.23.0)
Requirement already satisfied: pyyaml in /usr/local/lib/python3.6/dist-packages (from jovian) (3.13)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.6/dist-packages (from requests->jovian) (1.24.3)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.6/dist-packages (from requests->jovian) (2020.6.20)
Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.6/dist-packages (from requests->jovian) (2.10)
Requirement already satisfied: chardet<4,>=3.0.2 in /usr/local/lib/python3.6/dist-packages (from requests->jovian) (3.0.4)
Building wheels for collected packages: uuid
Building wheel for uuid (setup.py) ... done
Created wheel for uuid: filename=uuid-1.30-cp36-none-any.whl size=6503 sha256=3eb88e65240e1f25f8a7fd3c239cd1d5e1825751ec3d8338d63fe597124132a2
Stored in directory: /root/.cache/pip/wheels/2a/80/9b/015026567c29fdffe31d91edbe7ba1b17728db79194fca1f21
Successfully built uuid
Installing collected packages: uuid, jovian
Successfully installed jovian-0.2.18 uuid-1.30
import jovian