Zerg-Overmind / Strivec

Official code for the paper: Strivec (ICCV2023)
142 stars 3 forks source link

My own dataset geometry error #3

Open FL-flight opened 10 months ago

FL-flight commented 10 months ago

I tried to generate sparse geometric prior points3D .txt with colmap on my own dataset, but the content form of the specified dataset for this project, such as the geometric prior chair_points.txt of the chair, was not consistent with the prior information generated by colmap, which made it impossible to run experiments on my own dataset.

Here are some of the chair_points.txt: -6.647680401802062988e-01;-5.306981801986694336e-01;-9.567691683769226074e-01 -6.647680401802062988e-01;-5.306981801986694336e-01;-8.567692041397094727e-01 -6.647680401802062988e-01;-5.306981801986694336e-01;-7.567691802978515625e-01 -6.647680401802062988e-01;-5.306981801986694336e-01;-6.567691564559936523e-01 -6.647680401802062988e-01;-5.306981801986694336e-01;-5.567691326141357422e-01 -6.647680401802062988e-01;-5.306981801986694336e-01;-4.567691683769226074e-01 -6.647680401802062988e-01;-5.306981801986694336e-01;-3.567691445350646973e-01 -6.647680401802062988e-01;-5.306981801986694336e-01;-2.567691802978515625e-01 -6.647680401802062988e-01;-4.306981563568115234e-01;-9.567691683769226074e-01 -6.647680401802062988e-01;-4.306981563568115234e-01;-8.567692041397094727e-01 -6.647680401802062988e-01;-4.306981563568115234e-01;-7.567691802978515625e-01 -6.647680401802062988e-01;-4.306981563568115234e-01;-6.567691564559936523e-01 -6.647680401802062988e-01;-4.306981563568115234e-01;-5.567691326141357422e-01 -6.647680401802062988e-01;-4.306981563568115234e-01;-4.567691683769226074e-01

Here is a section from the geometric prior points3D .txt of my own dataset: `# 3D point list with one line of data per point:

POINT3D_ID, X, Y, Z, R, G, B, ERROR, TRACK[] as (IMAGE_ID, POINT2D_IDX)

Number of points: 61514, mean track length: 5.30798

32121;1.89701;-2.06392;-1.22377;88;115;79;0.418525;83;1235;90;1316;76;1647;46;2144 32106;-2.75496;-0.305692;0.907331;220;191;177;1.06633;90;1385;76;1481;72;1987;124;1320;128;1969;12;1641 31179;-3.15775;-0.0896899;-0.29309;16;21;17;0.44702;71;5772;90;6490;80;6030 30999;-2.8119;-1.40516;0.390799;147;149;147;0.29395;52;3907;90;4510;83;4171;76;4931 30785;-2.75658;-0.181224;0.870917;174;147;140;1.53711;71;1710;80;1692;90;1842;83;1565;76;6019;46;2518;72;2803;124;1962;128;6646;12;6286;124;7693;31;4216;58;4684 30727;-2.72799;-0.239139;1.25309;172;158;145;1.1437;71;1320;90;1218;83;945;52;1113 30726;-2.79355;-0.637111;0.0574495;172;151;134;0.228956;80;1065;90;1141;46;1718 30725;-2.78021;-0.517449;0.386973;153;128;101;0.35321;52;1002;90;1119;76;1315;46;1859;72;2053;124;1356 30724;-2.78098;-0.536537;0.391568;99;70;79;0.282897;52;1000;90;1116;83;851;76;1164;46;1685;128;2014 30723;-2.77951;-0.517274;0.42304;114;73;71;0.200345;52;999;90;1111;83;983;76;1154;46;1682;72;2044;124;1354 30722;-2.77921;-0.514197;0.434202;106;85;87;0.233056;52;994;90;1110;83;982;76;1153;46;1670;72;2043;124;1353;128;2012 30721;-2.77922;-0.543786;0.470652;178;151;132;0.333867;80;1037;90;1106;76;1144;46;1665;72;6836;124;1340;128;1783 30720;-2.77957;-0.531162;0.486144;180;151;141;0.420966;71;1044;80;1035;90;1105;83;837;76;1140;46;1664;72;1763;128;1782 30719;-2.77203;-0.454851;0.596439;104;82;91;0.283401;80;1167;90;1100;83;968;76;1297;46;1843;72;2009;128;1993 30718;-2.77201;-0.454846;0.59644;104;82;91;0.255148;80;1166;90;1099;83;967;76;1296;46;1842;72;2008;124;1334;128;1992 30717;-2.77298;-0.483323;0.576481;175;140;133;0.448663;71;1043;90;1098;46;1650 30716;-2.77558;-0.496391;0.558868;176;150;136;0.27692;52;986;90;1097;83;829 30715;-2.77558;-0.496391;0.558868;176;150;136;0.27692;52;987;90;1096;83;828 30714;-2.77496;-0.509506;0.607156;185;161;148;0.451083;88;1093;90;1092;128;1756 30713;-2.77047;-0.457525;0.628846;178;152;144;0.318087;71;1041;90;1091;76;1122;46;1643;72;2004;124;1331 30712;-2.76073;-0.423008;0.878355;174;156;142;0.464141;52;976;90;1078;72;6823;124;5351;128;6383 30711;-2.73395;-0.28901;1.40828;179;156;142;0.362601;80;1137;90;1067;83;803;76;5637;72;6731;124;5292;128;6319;12;5756 30710;-2.73411;-0.288799;1.40835;179;156;142;0.364977;80;1138;90;1066;83;802;46;1603;124;5293;128;6318;12;5755;94;6016;31;611;58;4236`

Another question is how do I set the parameters in config based on my dataset?