Traceback (most recent call last):File "/opt/xuben-project/caffe/data/VOC0712/../../scripts/create_annoset.py", line 105, in <module>label_map = caffe_pb2.LabelMap()AttributeError: 'module' object has no attribute 'LabelMap'Traceback (most
修改了.bashrc文件,想在打开终端时默认路径变成桌面路径.代码如下 cd ~/desktop export PATH="/Users/nola/local:$PATH" 但是每次通过ssh打开终端都需要重新source -/.bashrc一下,十分麻烦. 于是今天终于找到一个办法,就是在.bash_profile文件里重新引用一次.bashrc,添加的代码如下: if test -f .bashrc ; then source .bashrc fi