lama icon indicating copy to clipboard operation
lama copied to clipboard

Can't find dataloader , no outputs

Open BaiLuQiShuang opened this issue 1 year ago • 5 comments

When i ran predict.py , here comes the issues: [2024-07-03 10:59:17,943][saicinpainting.training.trainers.base][INFO] - BaseInpaintingTrainingModule init done 0it [00:00, ?it/s] [2024-07-03 10:59:18,323][saicinpainting.training.data.datasets][INFO] - Make val dataloader default from E:\PythonProjectFiles\lama\images/

I also changed the model.path, indir, outdir, make sure they are not empty. So what's val dataloader? Thank you very much for answering my questions! 👍 :)

BaiLuQiShuang avatar Jul 03 '24 03:07 BaiLuQiShuang

it also said: Detectron v2 is not installed but i have already install detectron2, The output is shown in this image. 屏幕截图 2024-07-03 152352

BaiLuQiShuang avatar Jul 03 '24 07:07 BaiLuQiShuang

你好,你现在解决了吗?我也碰到一样的问题了

wangduhe avatar Nov 29 '24 04:11 wangduhe

Try to change the suffixes of images to either png (or jpg). There may be some problem in config reading because editing the suffixes in config.yaml doesn't really work

THEWATERTELLS avatar Jan 16 '25 08:01 THEWATERTELLS

Update: I know the problem. The mask must end with _mask001.png not .jpg. The image to be processed can either be .jpg or .png, but you have to specify in the config.yml. The config is only related to images, not masks.

THEWATERTELLS avatar Jan 17 '25 06:01 THEWATERTELLS

你好,你现在解决了吗?我也碰到一样的问题了

你好,你现在解决了吗?我也碰到一样的问题了

7423cg avatar Jun 26 '25 01:06 7423cg