This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] AM5708:Caffe-Jacinto 培训

Guru**** 2017950 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/862294/am5708-caffe-jacinto-training

器件型号:AM5708

您好:

培训、请访问以下 URL  https://github.com/tidsp/caffe-jacinto-models/blob/caffe-0.17/docs/Imagenet_Classification_README.md

执行脚本./train_imagenet_classification.sh 以进行 ImageNet 培训

zhangqianlei@zhangqianlei-S1-Pro-Series:~/TIDL/caffe-jacinto-models-caffe-0.17/scripts。train_imagenet_classification.sh
将输出记录到 training/imagenet_jacintonet11v2_2019-12-03_18-50-52/train-log_2019-12-03_18-50-52.txt
回溯(最近一次调用最后一次):
文件"./models/image_classification.py、第2行、在中
导入咖啡因
ImportError:没有名为 Caffe 的模块
traine/imagenet_jacintonet11v2_2019-12-03_18-50-52/sparse
回溯(最近一次调用最后一次):
文件"./models/image_classification.py、第2行、在中
导入咖啡因
ImportError:没有名为 Caffe 的模块
traine/imagenet_jacintonet11v2_2019-12-03_18-50-52/test
回溯(最近一次调用最后一次):
文件"./models/image_classification.py、第2行、在中
导入咖啡因
ImportError:没有名为 Caffe 的模块
traine/imagenet_jacintonet11v2_2019-12-03_18-50-52/test_quantize
回溯(最近一次调用最后一次):
文件"./models/image_classification.py、第2行、在中
导入咖啡因
ImportError:没有名为 Caffe 的模块
类别:traine/imagenet_jacintonet11v2_2019-12-03_18-50-52/test_quante/deploy.prototxt:没有那个文件或目录
类别:traine/imagenet_jacintonet11v2_2019-12-03_18-50-52/test_quante/test.prototxt:没有那个文件或目录
./train_imagenet_classic.sh:行114:training/imagenet_jacintonet11v2_2019-12-03_18-50-52/initial/run.sh:没有那个文件或目录
./train_imagenet_classic.sh:行114:training/imagenet_jacintonet11v2_2019-12-03_18-50-52/稀 疏/run.sh:没有那个文件或目录
/train_imagenet_classic.sh:行114:training/imagenet_jacintonet11v2_2019-12-03_18-50-52/test/run.sh:没有那个文件或目录
./train_imagenet_classic.sh:行114:training/imagenet_jacintonet11v2_2019-12-03_18-50-52/test_quante/run.sh:没有那个文件或目录
zhangqianlei@zhangqianlei-S1-Pro-Series:~/TIDL/caffe-jacinto-models-caffe-0.17/scripts

deploy.prototxt:、test.prototxt、run.sh  在哪里可以找到这些文件??

如何生成这些文件?

我不明白这些文件来自哪里

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Hello,

    First, regarding your python import issue, did you ever do 'make pycaffe'? If not, you need to build that
    to have access to the python wrapper for caffe.


    After you're sure that has successfully built, try 'echo $PYTHONPATH'. If your python

    folder from caffe is not included, add it through your bashrc file with the following commands:

    #打开 bashrc 文件
    vim ~/.bashrc
    
    #添加此行
    export PYTHONPTH=$HOME/Downloads/Caffe/python:$PYTHONPTH
    
    #然后生成新的环境变量
    source ~/.bashrc 

    然后、您应该打开 python 终端并键入"import Caffe"。 如果未引发错误、则表示您满意。

    至于缺失的文件、您的构建是否成功? 您是否已下载 Caffe-Jacinto-models 资源库?

    谢谢、

    Caleb