Code size too large to sync, please keep it under 100.0MiB.
If you have data files in the current directory, please upload them separately using "floyd data" command and remove them from here.
You may find the following documentation useful:
...

Directory contains too many files to upload. If you have data files in the current directory, please upload them separately using "floyd data" command and remove them from here.
...

These errors have a common root cause: the structure of your local project directory (where you ran floyd init <project_name>).

It's really unlikely that you will have 100MiB or hundreds of small files composing your code! This probably means that the local project folder is containing your data (dataset, checkpoints, etc...) as well.

In order to fix these error, but also embrace one of the best practice we are encouraging (keep data separate from code), here are the steps to follow:

  1. Create and Upload the data as a FloydHub dataset
  2. Move the data out from the local project folder (Note: you can use the .floydignore file to achieve the same result).
  3. Fix the path to your data in the code and use --data flag to mount the uploaded data to your Job. (check this article if you are facing some trouble at figure it out the right path).
Did this answer your question?