.ipynb_checkpoints隐藏文件引发的错误

news/2024/7/10 2:42:54 标签: 深度学习, 目标检测, python

在AutoDL上跑mmrotate程序时,引发了错误

可以看到val_image文件下只有一张图片文件,但进度条(tqdm.tqdm())显示读取了两个文件,下面的报错显示了还存在一个.ipynb_checkpoints文件,cd到val_images文件夹下用ls指令查看文件,结果显示只有一张图片文件。

然后改用指令ls -a,果然显示了.ipynb_checkpoints隐藏文件

 .ipynb_checkpoints的隐藏文件是notebook运行出错的时候生成的,很可能导致该目录下寻找其他文件出错。使用删除指令rm -rf .ipynb_checkpoints和sudo rm -f .ipynb_checkpoints均无法删除该文件。

使用如下指令可以有效删除,然后就可以保证程序正常运行了

python">rm -rf "find -type d -name .ipynb_checkpoints"

参考博客:

删除Jupyter中产生的.ipynb_checkpointshttp://t.csdn.cn/OTt18隐藏文件ipynb_checkpoints引起错误http://t.csdn.cn/jQdcx


http://www.niftyadmin.cn/n/1579089.html

相关文章

EF6 Code First Auto Migration on Appharbor

之前不小心看到EF的code first在appharbor上进行migration的时候比较麻烦,今天碰巧也要更新数据库了,顺便试试。 modify model public class SiteInfo : Entity {[JsonProperty("id")]public string UserId { get; set; }[JsonProperty("…

strstr库函数模拟实现

第一次尝试 #include<stdio.h> #include<stdlib.h> #include<string.h> #define MAX 1024const char* myStrstr(const char* str1,const char* str2) {// 由于无法保证调用者传入一个啥样的参数. 比如极端情况下传入一个非法地址. // 就需要尽量让代码能比较…

视频语音转写工具的学习笔记

1. 离线工具 Whisperapp [doc] 可离线使用&#xff08;待测试&#xff09;支持多语言&#xff0c;日文和英文

工作碎片记录

2019独角兽企业重金招聘Python工程师标准>>> android adt sdk manager 代理配置 mirrors.neusoft.edu.cn:80 android权限表 http://my.oschina.net/atearsan/blog/182380 android系统自带的各种action跳转表格 http://bgj.iteye.com/blog/1995430 android颜色…

strcat库函数模拟实现

第一次尝试 #include<stdio.h> #include<stdlib.h>char* myStrcat(char* str1,const char* str2) {//参数合法性检验if (str1 NULL || str2 NULL) {return NULL;}int num 0;while (str1[num] ! \0) {num;}//printf("%d\n", num);char* ret str1;int…

指针进阶

目录字符指针指针数组和数组指针指针数组数组指针数组名 vs &数组名指针与数组传参一维数组传参二维数组传参一级指针传参二级指针传参函数指针函数指针数组指向函数指针数组的指针回调函数字符指针 字符指针即可以指向单个字符&#xff0c;也可以指向一个字符串&#xff0…

杀死进程

2019独角兽企业重金招聘Python工程师标准>>> package com.example.killself;import android.os.Bundle; import android.app.Activity; import android.app.ActivityManager; import android.view.Menu; import android.view.View;public class MainActivity extend…

使用Octopress博客 搭建博客

Octopress介绍 Octopress是一款优秀的静态化博客系统&#xff0c;也是一个本地化的博客系统&#xff0c;之前部落在介绍免费开源Github Pages空间时有提到过Octopress&#xff0c;Github为我们提供长期稳定的免费空间服务&#xff0c;但是Github空间不是一般意义上的PHP或者ASP…