Revision e1467a79dc6580ae009d827b5e6f274faff3b339 authored by liqunfu on 27 March 2020, 21:42:04 UTC, committed by GitHub on 27 March 2020, 21:42:04 UTC
2 parent s c7bc93f + a2055f6
Raw File
install_data_and_model.py
# Copyright (c) Microsoft. All rights reserved.

# Licensed under the MIT license. See LICENSE.md file in the project root
# for full license information.
# ==============================================================================

from __future__ import print_function
import zipfile
import os, sys
import os.path
    
base_folder = os.path.dirname(os.path.abspath(__file__))

sys.path.append(os.path.join(base_folder, "..", "DataSets", "Grocery"))
from install_grocery import download_grocery_data
download_grocery_data()
   
sys.path.append(os.path.join(base_folder, "..", "..", "..", "PretrainedModels"))
from download_model import download_model_by_name
download_model_by_name("ResNet18_ImageNet_CNTK")

back to top