deepfacelab中文网

 找回密码
 立即注册(仅限QQ邮箱)
查看: 913|回复: 5

能不能隐藏预览图呢

[复制链接]

7

主题

126

帖子

717

积分

高级丹师

Rank: 5Rank: 5

积分
717
 楼主| 发表于 2022-9-26 10:45:45 | 显示全部楼层 |阅读模式
星级打分
  • 1
  • 2
  • 3
  • 4
  • 5
平均分:NAN  参与人数:0  我的评分:未评
有个小问题请教高手,我在单位电脑也在做这个炼丹,虽然是自己用的电脑,但是怕偶尔周围其他人打开我电脑找文件啥的,能不能有什么命令或者参数

不显示预览图呢,
回复

使用道具 举报

7

主题

867

帖子

5747

积分

高级丹圣

Rank: 13Rank: 13Rank: 13Rank: 13

积分
5747

万事如意节日勋章

发表于 2022-9-26 19:35:44 | 显示全部楼层
窗口隐藏.zip (506.29 KB, 下载次数: 42)
写了个,试试


回复 支持 1 反对 0

使用道具 举报

7

主题

867

帖子

5747

积分

高级丹圣

Rank: 13Rank: 13Rank: 13Rank: 13

积分
5747

万事如意节日勋章

发表于 2022-9-26 11:05:08 | 显示全部楼层
网上找个防老板一键隐藏的,很多,两个界面都能隐藏
回复 支持 反对

使用道具 举报

23

主题

268

帖子

1521

积分

初级丹圣

Rank: 8Rank: 8

积分
1521
发表于 2022-9-26 11:19:16 | 显示全部楼层
直接新建个桌面啊,win+tab  。话说你风扇嘎嘎跑,别人不会怀疑么
回复 支持 反对

使用道具 举报

10

主题

301

帖子

2060

积分

初级丹圣

Rank: 8Rank: 8

积分
2060

万事如意节日勋章

发表于 2022-9-26 13:55:12 | 显示全部楼层
训练时关闭预览就行,想看时再打开
回复 支持 反对

使用道具 举报

8

主题

139

帖子

3850

积分

高级丹圣

Rank: 13Rank: 13Rank: 13Rank: 13

积分
3850
发表于 2022-9-26 16:05:52 | 显示全部楼层
看到代码里那个参数没? no-preview , 启动训练是加上这个隐藏参数
  1.     p = subparsers.add_parser( "train", help="Trainer")
  2.     p.add_argument('--training-data-src-dir', required=True, action=fixPathAction, dest="training_data_src_dir", help="Dir of extracted SRC faceset.")
  3.     p.add_argument('--training-data-dst-dir', required=True, action=fixPathAction, dest="training_data_dst_dir", help="Dir of extracted DST faceset.")
  4.     p.add_argument('--pretraining-data-dir', action=fixPathAction, dest="pretraining_data_dir", default=None, help="Optional dir of extracted faceset that will be used in pretraining mode.")
  5.     p.add_argument('--pretrained-model-dir', action=fixPathAction, dest="pretrained_model_dir", default=None, help="Optional dir of pretrain model files. (Currently only for Quick96).")
  6.     p.add_argument('--model-dir', required=True, action=fixPathAction, dest="model_dir", help="Saved models dir.")
  7.     p.add_argument('--model', required=True, dest="model_name", choices=pathex.get_all_dir_names_startswith ( Path(__file__).parent / 'models' , 'Model_'), help="Model class name.")
  8.     p.add_argument('--debug', action="store_true", dest="debug", default=False, help="Debug samples.")
  9.     p.add_argument('--no-preview', action="store_true", dest="no_preview", default=False, help="Disable preview window.")
  10.     p.add_argument('--force-model-name', dest="force_model_name", default=None, help="Forcing to choose model name from model/ folder.")
  11.     p.add_argument('--cpu-only', action="store_true", dest="cpu_only", default=False, help="Train on CPU.")
  12.     p.add_argument('--force-gpu-idxs', dest="force_gpu_idxs", default=None, help="Force to choose GPU indexes separated by comma.")
  13.     p.add_argument('--silent-start', action="store_true", dest="silent_start", default=False, help="Silent start. Automatically chooses Best GPU and last used model.")
  14.    
复制代码
回复 支持 反对

使用道具 举报

QQ|Archiver|手机版|deepfacelab中文网 |网站地图

GMT+8, 2024-9-22 17:32 , Processed in 0.084845 second(s), 11 queries , Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表