Шпаргалка с командами Docker
##VGG16 model for Keras
This is the Keras model of the 16-layer network used by the VGG team in the ILSVRC-2014 competition.
It has been obtained by directly converting the Caffe model provived by the authors.
Details about the network architecture can be found in the following arXiv paper:
Very Deep Convolutional Networks for Large-Scale Image Recognition
K. Simonyan, A. Zisserman
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from bs4 import BeautifulSoup | |
import re | |
import os | |
# Вспомогательная функция, её наличие не обязательно и не будет проверяться | |
def build_tree(start, end, path): | |
link_re = re.compile(r"(?<=/wiki/)[\w()]+") # Искать ссылки можно как угодно, не обязательно через re | |
files = dict.fromkeys(os.listdir(path)) # Словарь вида {"filename1": None, "filename2": None, ...} | |
# TODO Проставить всем ключам в files правильного родителя в значение, начиная от start |