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
| (OTF | |
| (OffsetTable | |
| (sfnt-version 20308.21583) | |
| (numTables 25) | |
| (searchRange 256) | |
| (enterSelector 4) | |
| (rangeShift 384)) | |
| (Table 0 (tag "BASE" #x42415345) | |
| (checkSum 6962C672) (offset #x00000430) (length: #x000001C8)) | |
| (Table 1 (tag "CFF " #x43464620) |
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
| import numpy as np | |
| import scipy.ndimage as nd | |
| import PIL.Image | |
| from google.protobuf import text_format | |
| import caffe | |
| model_path = 'caffe/models/finetune_flickr_style/' # substitute your path here | |
| net_fn = model_path + 'deploy.prototxt' | |
| param_fn = model_path + 'finetune_flickr_style.caffemodel' |
NewerOlder