How to backup a Caffe (DL framework) project? The Caffe folder (downloaded from GitHub) can't be copied or compressed

I am using Ubuntu18.04 and Caffe deep learning framework to do my project. However, when I tried to backup my project, I found that the Caffe folder (downloaded from GitHub) can't be copied or compressed.

Here is what I did:

  1. Download Caffe from GitHub, and install it.
  2. Do some modification to the source code for my project.
  3. Backup the whole Caffe folder. However, if I copy the folder to a USB flash drive, I will have a folder that misses files (I compared the size and number of files of two folders). If I compress the folder then copy it to the USB flash drive, then I get error says I can't open the compressed file.

I wonder if I did anything wrong, what is the correct way of backup Caffe project?

Thanks.

Topic caffe deep-learning

Category Data Science


Based on the comments, the problem is due to wrong file permissions for certain files. Assigning read permissions to the full directory should solve it:

chmod -R u+r <caffe directory>

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.