May 2020
Intermediate to advanced
404 pages
10h 52m
English
Now, let's load all the modules required to make predictions with the CNTK model, as in the following steps:
import osfrom django.conf import settings
import cntk as Cfrom cntk.ops.functions import load_model
The preceding lines import the CNTK module to the Django project. The load_model method will help us load the saved CNTK model file.
The following modules are used to manipulate the images that the predictions will be made on:
from PIL import Imageimport numpy as np
The following modules provide utility for handling Base64-encoded strings, which is the format ...
Read now
Unlock full access