Closed YellowPuppy closed 1 year ago
You may not correctly configure Sensat Urban Dataset. As shown in your error info, no valid data frame was loaded. Therefore, there are no ACCs and their mean value.
loading data frame...
0it [00:00, ?it/s]
Using 0 data frame from train split
loading data frame...
0it [00:00, ?it/s]
Using 0 data frame from val split
Generate 0 samples from train split
Generate 0 samples from val split
You may not correctly configure Sensat Urban Dataset. As shown in your error info, no valid data frame was loaded. Therefore, there are no ACCs and their mean value.
loading data frame... 0it [00:00, ?it/s] Using 0 data frame from train split loading data frame... 0it [00:00, ?it/s] Using 0 data frame from val split Generate 0 samples from train split Generate 0 samples from val split
Thanks ! But i organized my data in the following format:
But the same error message is still displayed. Can you tell me how to correctly configure the sensat urban dataset for PMF training? I will appreciate for that!
And i have also tried to configure datasets according to the official tutorial of Sensat Urban as follows:
but I don't know how to use it for training in PMF.
Sorry for delay, thank you @hadonga.
Hi @YellowPuppy, you can refer the following dataset structure:
/dataset/sensat-urban$ tree -L 2
.
├── 2009.03137.pdf
├── readme.md
├── test
│ ├── birmingham_block_2.ply
│ ├── birmingham_block_2.pth
│ ├── birmingham_block_8.ply
│ ├── birmingham_block_8.pth
│ ├── cambridge_block_15.ply
│ ├── cambridge_block_15.pth
│ ├── cambridge_block_16.ply
│ ├── cambridge_block_16.pth
│ ├── cambridge_block_22.ply
│ ├── cambridge_block_22.pth
│ ├── cambridge_block_27.ply
│ └── cambridge_block_27.pth
├── test_0.08
│ ├── birmingham_block_2.ply
│ ├── birmingham_block_2.pth
│ └── ...
├── train
│ ├── birmingham_block_0.ply
│ ├── birmingham_block_0.pth
│ └── ...
├── train_0.08
│ ├── birmingham_block_0.bin
│ ├── birmingham_block_0.ply
│ ├── birmingham_block_0.pth
│ ├── birmingham_block_10.bin
│ ├── birmingham_block_10.ply
│ ├── birmingham_block_10.pth
│ ├── birmingham_block_11.bin
│ └── ...
├── trainval_0.08
│ ├── birmingham_block_0.pth
│ ├── birmingham_block_10.pth
│ ├── birmingham_block_11.pth
│ ├── birmingham_block_12.pth
│ ├── birmingham_block_13.pth
│ ├── birmingham_block_1.pth
│ └── ...
├── val
│ ├── birmingham_block_1.bin
│ ├── birmingham_block_1.ply
│ ├── birmingham_block_1.pth
│ └── ...
└── val_0.08
├── birmingham_block_1.bin
├── birmingham_block_1.ply
├── birmingham_block_1.pth
├── birmingham_block_5.bin
├── birmingham_block_5.ply
├── birmingham_block_5.pth
├── cambridge_block_10.bin
└── ...
7 directories, 254 files
Sorry for delay, thank you @hadonga.
Hi @YellowPuppy, you can refer the following dataset structure:
/dataset/sensat-urban$ tree -L 2 . ├── 2009.03137.pdf ├── readme.md ├── test │ ├── birmingham_block_2.ply │ ├── birmingham_block_2.pth │ ├── birmingham_block_8.ply │ ├── birmingham_block_8.pth │ ├── cambridge_block_15.ply │ ├── cambridge_block_15.pth │ ├── cambridge_block_16.ply │ ├── cambridge_block_16.pth │ ├── cambridge_block_22.ply │ ├── cambridge_block_22.pth │ ├── cambridge_block_27.ply │ └── cambridge_block_27.pth ├── test_0.08 │ ├── birmingham_block_2.ply │ ├── birmingham_block_2.pth │ └── ... ├── train │ ├── birmingham_block_0.ply │ ├── birmingham_block_0.pth │ └── ... ├── train_0.08 │ ├── birmingham_block_0.bin │ ├── birmingham_block_0.ply │ ├── birmingham_block_0.pth │ ├── birmingham_block_10.bin │ ├── birmingham_block_10.ply │ ├── birmingham_block_10.pth │ ├── birmingham_block_11.bin │ └── ... ├── trainval_0.08 │ ├── birmingham_block_0.pth │ ├── birmingham_block_10.pth │ ├── birmingham_block_11.pth │ ├── birmingham_block_12.pth │ ├── birmingham_block_13.pth │ ├── birmingham_block_1.pth │ └── ... ├── val │ ├── birmingham_block_1.bin │ ├── birmingham_block_1.ply │ ├── birmingham_block_1.pth │ └── ... └── val_0.08 ├── birmingham_block_1.bin ├── birmingham_block_1.ply ├── birmingham_block_1.pth ├── birmingham_block_5.bin ├── birmingham_block_5.ply ├── birmingham_block_5.pth ├── cambridge_block_10.bin └── ... 7 directories, 254 files
Thank you! Problem solved :)
when i run PMF code on Sensat Urban Dataset,it show that “UnboundLocalError: local variable 'mean_acc' referenced before assignment” and "UnboundLocalError: local variable 'lr' referenced before assignment"。How can I solve this problem? Complete error reporting information is as follows