leongatys / DeepTextures

Code to synthesise textures using convolutional neural networks as described in Gatys et al. 2015 (http://arxiv.org/abs/1505.07376)
273 stars 82 forks source link

ModuleNotFoundError: No module named 'LossFunctions' #14

Open eliashahbazi opened 4 years ago

eliashahbazi commented 4 years ago

I installed Caffe and passed the path to the code but it cannot find the loss functons with is in the DeepImageSynthesis directory

eliashahbazi commented 4 years ago

guys, I installed caffe but in the code it couldn't find Caffe, I had also problem in importing lossfunctions from the directory

ArMaxik commented 2 years ago

Hi @eliashahbazi You should add DeepImageSynthesis folder to your path:

import sys
sys.path.append("/path/to/DeepTextures/DeepImageSynthesis")
zouyunpeng666 commented 1 year ago

我安装了 Caffe 并将路径传递给代码,但它在 DeepImageSynthesis 目录中找不到损失函数

Do you have the weight of VGG, his current url address is invalid, I would appreciate it if you could send me a copy

zouyunpeng666 commented 1 year ago

伙计们,我安装了 caffe,但在代码中找不到 Caffe,我在从目录中导入损失函数时也遇到了问题

Do you have the weight of VGG, his current url address is invalid, I would appreciate it if you could send me a copy

zouyunpeng666 commented 1 year ago

嗨,您应该将DeepImageSynation文件夹添加到您的路径中:

import sys
sys.path.append("/path/to/DeepTextures/DeepImageSynthesis")

Do you have the weight of VGG, his current url address is invalid, I would appreciate it if you could send me a copy