Describe the bug
my sftp.json are as follow:
"uploadOnSave": false,
"ignore": [".vscode", "datasets"],
"watcher": {
"files": "*/",
"autoUpload": true,
"autoDelete": true,
}
When I was training a YOLOv8(pytorch) model remotely, the weight file I got was in the format of ".pt". After I downloaded the remote file to the local using remote -> local, when I open the ".yaml" file in the same directory, the files in the directory would all be sent back from the local to the remote because the configuration file set automatic upload. At this point my ".pt" file is corrupted.
Why does it happen that after I download a remote file to the local, I do not make any changes and the file is automatically uploaded from the local to the remote
Expected behavior
Specified files/folders can only be downloaded, not uploaded, remote -> Local (one-way)
Do you read the FAQ?
Describe the bug my sftp.json are as follow: "uploadOnSave": false, "ignore": [".vscode", "datasets"], "watcher": {
"files": "*/",
"autoUpload": true,
"autoDelete": true, }
When I was training a YOLOv8(pytorch) model remotely, the weight file I got was in the format of ".pt". After I downloaded the remote file to the local using remote -> local, when I open the ".yaml" file in the same directory, the files in the directory would all be sent back from the local to the remote because the configuration file set automatic upload. At this point my ".pt" file is corrupted.
Logs [03-16 11:39:45] [info] [watcher/updated] d:\yolo\runs\detect\train\val_batch1_pred.jpg [03-16 11:39:45] [info] [watcher/updated] d:\yolo\runs\detect\train\predictions.json [03-16 11:39:45] [info] [watcher/updated] d:\yolo\runs\detect\train\predictions.json [03-16 11:39:46] [info] local ➞ remote d:\yolo\runs\detect\train\val_batch1_pred.jpg [03-16 11:39:48] [info] local ➞ remote d:\yolo\runs\detect\train\predictions.json [03-16 11:39:48] [info] local ➞ remote d:\yolo\runs\detect\train\predictions.json [03-16 11:39:55] [info] remote ➞ local d:\yolo\runs\detect\train\weights\best.pt [03-16 11:39:55] [info] remote ➞ local d:\yolo\runs\detect\train\weights\last.pt [03-16 11:39:55] [info] [watcher/updated] d:\yolo\runs\detect\train\weights\best.pt [03-16 11:39:55] [info] [watcher/updated] d:\yolo\runs\detect\train\weights\last.pt [03-16 11:39:57] [info] [watcher/updated] d:\yolo\runs\detect\train\weights\best.pt [03-16 11:39:57] [info] [watcher/updated] d:\yolo\runs\detect\train\weights\last.pt [03-16 11:39:57] [info] [watcher/updated] d:\yolo\runs\detect\train\weights\last.pt [03-16 11:40:15] [info] local ➞ remote d:\yolo\runs\detect\train\weights\best.pt [03-16 11:40:15] [info] local ➞ remote d:\yolo\runs\detect\train\weights\last.pt [03-16 11:40:17] [info] local ➞ remote d:\yolo\runs\detect\train\weights\best.pt [03-16 11:40:17] [info] local ➞ remote d:\yolo\runs\detect\train\weights\last.pt [03-16 11:40:17] [info] local ➞ remote d:\yolo\runs\detect\train\weights\last.pt
Why does it happen that after I download a remote file to the local, I do not make any changes and the file is automatically uploaded from the local to the remote
Expected behavior Specified files/folders can only be downloaded, not uploaded, remote -> Local (one-way)