Tranvick

idc trace 2

May 18th, 2017
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.94 KB | None | 0 0
  1. ColorizeImageCaffe instantiated
  2. gpu_id = 0, net_path = ./models/global_model/deploy_nodist.prototxt, model_path = ./models/global_model/global_model.caffemodel
  3. ---------------------------------------------------------------------------
  4. IOError                                   Traceback (most recent call last)
  5. <ipython-input-3-29cd1cf45678> in <module>()
  6.       7
  7.       8 # Global distribution network - extracts global color statistics from an image
  8. ----> 9 gt_glob_net = caffe.Net('./models/global_model/global_stats.prototxt',                       './models/global_model/dummy.caffemodel', caffe.TEST)
  9.  
  10. /home/tranvick/interactive-deep-colorization/caffe_files/caffe_datalayers.pyc in setup(self, bottom, top)
  11.      41         self.sigma = 5.
  12.      42         self.ENC_DIR = '/home/eecs/rich.zhang/src/projects/cross_domain/save/ab_grid_10'
  13. ---> 43         self.nnenc = cq.NNEncode(self.NN,self.sigma,km_filepath=os.path.join(self.ENC_DIR,'pts_in_hull.npy'))
  14.      44
  15.      45         self.N = bottom[0].data.shape[0]
  16.  
  17. /home/tranvick/interactive-deep-colorization/caffe_files/color_quantization.pyc in __init__(self, NN, sigma, km_filepath, cc)
  18.     457         def __init__(self,NN,sigma,km_filepath='/home/eecs/rich.zhang/data_rzhang/models/caffe/cross_domain/l_to_ab/2015_02_12_classification_nn_rbf/cc_k150.npy',cc=-1):
  19.     458                 if(rz.check_value(cc,-1)):
  20. --> 459                         self.cc = np.load(km_filepath)
  21.     460                 else:
  22.     461                         self.cc = cc
  23.  
  24. /home/tranvick/.local/lib/python2.7/site-packages/numpy/lib/npyio.pyc in load(file, mmap_mode, allow_pickle, fix_imports, encoding)
  25.     368     own_fid = False
  26.     369     if isinstance(file, basestring):
  27. --> 370         fid = open(file, "rb")
  28.     371         own_fid = True
  29.     372     elif is_pathlib_path(file):
  30.  
  31. IOError: [Errno 2] No such file or directory: '/home/eecs/rich.zhang/src/projects/cross_domain/save/ab_grid_10/pts_in_hull.npy'
Advertisement
Add Comment
Please, Sign In to add comment