python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4876' -s datou_current_4876 -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] process id : 1974679 load datou : 4876 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? load thcls load pdts Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec no input labels no input values updating current state to 1 we have a portfolio with more photos than limit : 2242>1000 please execute split_portfolio.py -i 22190399 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2739107'] with mtr_portfolio_ids : ['22190399'] and first list_photo_ids : [] new path : /proc/1974679/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! List Step Type Loaded in datou : split_time_score over limit max, limiting to limit_max 100 list_input_json : {} origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB time to download the photos : 0.036375999450683594 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Thu Apr 10 10:50:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec begin split time score 2022-04-13 10:29:59 0 TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 3379, 'mtr_user_id': 31, 'name': 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '5515864,5515840,5515844,5515850,6244400,6237996,6237998,5515847,5515841,5515868,5515866', 'photo_hashtag_type': 4374, 'photo_desc_type': 5680, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'}] thcls : [{'id': 3513, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2_tf', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 4557, 'photo_desc_type': 5767, 'type_classification': 'tf_classification2', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('00', 276), ('01', 73), ('02', 247), ('03', 254), ('04', 53), ('05', 246), ('06', 267), ('07', 272), ('08', 234), ('09', 110), ('10', 210)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 2147} 10042025 22190399 Nombre de photos uploadées : 361 / 23040 (1%) 10042025 22190399 Nombre de photos taguées (types de déchets): 2147 / 361 (594%) 10042025 22190399 Nombre de photos taguées (volume) : 2147 / 361 (594%) elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 0.0008885860443115234 ?????????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.056860923767089844 elapsed_time : insert_dashboard_record_day_entry 0.029010295867919922 Creating list_photo_by_hashtags Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None elapsed_time : list_photo_by_hashtags 0.01209115982055664 photos_removed : len 0 elapsed_time : load_duplicate_info 1.2163238525390625 ***** BEGIN SPLIT TIME ***** 1744243200.0 `1744267774.010136 1744267500.0 `1744267813.010135 1744267500.0 `1744267824.010133 1744267500.0 `1744267834.010134 1744267500.0 `1744267844.010134 1744267500.0 `1744267863.009135 1744267500.0 `1744267873.010137 1744267500.0 `1744267883.010141 1744267500.0 `1744267894.010136 1744267500.0 `1744267904.010137 1744267500.0 `1744267914.010137 1744267500.0 `1744267924.010147 1744267500.0 `1744267933.009126 1744267500.0 `1744267943.010137 1744267500.0 `1744267953.010137 1744267500.0 `1744267963.010136 1744267500.0 `1744267974.010136 1744267500.0 `1744268013.010134 1744267500.0 `1744268033.010132 1744267500.0 `1744268054.010137 1744267500.0 `1744268064.010137 1744267500.0 `1744268073.009132 1744267500.0 `1744268083.010144 1744267500.0 `1744268093.010134 1744267500.0 `1744268103.010154 1744267500.0 `1744268114.010138 1744267500.0 `1744268124.010139 1744267500.0 `1744268134.010135 1744267500.0 `1744268143.009126 1744267500.0 `1744268153.010139 1744267500.0 `1744268184.010139 1744267500.0 `1744268194.010135 1744267500.0 `1744268204.010135 1744267500.0 `1744268243.010134 1744267500.0 `1744268264.010139 1744267500.0 `1744268274.010139 1744267500.0 `1744268284.010149 1744267500.0 `1744268293.009128 1744267500.0 `1744268303.010135 1744267500.0 `1744268313.010139 1744267500.0 `1744268334.010136 1744267500.0 `1744268414.010206 1744268400.0 `1744268424.010142 1744268400.0 `1744268864.010138 1744268400.0 `1744269414.010134 1744269300.0 `1744270294.01014 1744270200.0 `1744270304.01014 1744270200.0 `1744270314.010137 1744270200.0 `1744270323.009148 1744270200.0 `1744270334.010138 1744270200.0 `1744270344.010135 1744270200.0 `1744270354.010142 1744270200.0 `1744270364.010139 1744270200.0 `1744270374.010134 1744270200.0 `1744270424.010135 1744270200.0 `1744270434.010136 1744270200.0 `1744270444.010154 1744270200.0 `1744270454.010139 1744270200.0 `1744270464.010139 1744270200.0 `1744270494.010138 1744270200.0 `1744270504.010177 1744270200.0 `1744270514.010136 1744270200.0 `1744270524.010135 1744270200.0 `1744270534.010135 1744270200.0 `1744270544.009127 1744270200.0 `1744270554.010144 1744270200.0 `1744270564.010146 1744270200.0 `1744270574.010136 1744270200.0 `1744270584.010136 1744270200.0 `1744270594.010137 1744270200.0 `1744270604.010138 1744270200.0 `1744270613.009127 1744270200.0 `1744270624.010153 1744270200.0 `1744270634.010138 1744270200.0 `1744270644.010136 1744270200.0 `1744270654.010136 1744270200.0 `1744270664.010134 1744270200.0 `1744270694.010138 1744270200.0 `1744270704.010134 1744270200.0 `1744270724.010137 1744270200.0 `1744270734.010135 1744270200.0 `1744270754.010135 1744270200.0 `1744270774.010135 1744270200.0 `1744270794.010139 1744270200.0 `1744270874.010136 1744270200.0 `1744270894.01014 1744270200.0 `1744270903.009126 1744270200.0 `1744270914.010137 1744270200.0 `1744270924.010143 1744270200.0 `1744270934.010141 1744270200.0 `1744270944.010137 1744270200.0 `1744270954.010135 1744270200.0 `1744270964.010137 1744270200.0 `1744270973.009128 1744270200.0 `1744270984.010137 1744270200.0 `1744271024.010131 1744270200.0 `1744271043.009146 1744270200.0 `1744271054.010138 1744270200.0 `1744271074.010141 1744270200.0 `1744271084.010142 1744270200.0 `1744271094.010138 1744270200.0 `1744271104.010151 1744271100.0 `1744271113.009124 1744271100.0 `1744271134.010134 1744271100.0 `1744271154.010136 1744271100.0 `1744271314.010144 1744271100.0 `1744271324.010132 1744271100.0 `1744271354.010133 1744271100.0 `1744271364.010132 1744271100.0 `1744271374.010142 1744271100.0 `1744271384.010143 1744271100.0 `1744271394.010136 1744271100.0 `1744271414.01014 1744271100.0 `1744271424.010136 1744271100.0 `1744271434.010136 1744271100.0 `1744271474.010136 1744271100.0 `1744271484.009125 1744271100.0 `1744271494.010135 1744271100.0 `1744271504.010136 1744271100.0 `1744271514.010138 1744271100.0 `1744271534.010137 1744271100.0 `1744271544.010135 1744271100.0 `1744271554.009124 1744271100.0 `1744271564.010133 1744271100.0 `1744271594.010135 1744271100.0 `1744271604.010134 1744271100.0 `1744271623.009126 1744271100.0 `1744271634.010137 1744271100.0 `1744271644.010143 1744271100.0 `1744271664.010136 1744271100.0 `1744271684.010137 1744271100.0 `1744271694.010136 1744271100.0 `1744271704.009133 1744271100.0 `1744271734.010144 1744271100.0 `1744271754.010138 1744271100.0 `1744271764.010158 1744271100.0 `1744271784.01014 1744271100.0 `1744271794.01014 1744271100.0 `1744271824.010154 1744271100.0 `1744271834.010132 1744271100.0 `1744271854.010141 1744271100.0 `1744271864.010152 1744271100.0 `1744271874.01014 1744271100.0 `1744271884.010139 1744271100.0 `1744271894.010134 1744271100.0 `1744271904.010135 1744271100.0 `1744271913.009124 1744271100.0 `1744271934.010137 1744271100.0 `1744271954.010998 1744271100.0 `1744271964.009132 1744271100.0 `1744271974.010137 1744271100.0 `1744272014.010134 1744272000.0 `1744272024.010137 1744272000.0 `1744272034.009128 1744272000.0 `1744272044.010138 1744272000.0 `1744272054.010139 1744272000.0 `1744272064.010143 1744272000.0 `1744272074.01014 1744272000.0 `1744272084.010142 1744272000.0 `1744272094.010137 1744272000.0 `1744272104.009127 1744272000.0 `1744272114.010138 1744272000.0 `1744272124.010143 1744272000.0 `1744272134.010137 1744272000.0 `1744272144.010136 1744272000.0 `1744272173.009129 1744272000.0 `1744272184.010152 1744272000.0 `1744272224.010136 1744272000.0 `1744272234.010136 1744272000.0 `1744272244.010149 1744272000.0 `1744272264.010135 1744272000.0 `1744272274.01014 1744272000.0 `1744272284.010143 1744272000.0 `1744272294.010139 1744272000.0 `1744272304.010151 1744272000.0 `1744272364.010144 1744272000.0 `1744272374.010136 1744272000.0 `1744272384.010134 1744272000.0 `1744272394.009131 1744272000.0 `1744272404.01014 1744272000.0 `1744272414.010135 1744272000.0 `1744272424.010138 1744272000.0 `1744272434.010136 1744272000.0 `1744272464.010134 1744272000.0 `1744272474.009131 1744272000.0 `1744272494.010133 1744272000.0 `1744272524.010138 1744272000.0 `1744272534.01014 1744272000.0 `1744272554.010137 1744272000.0 `1744272574.010141 1744272000.0 `1744272594.010137 1744272000.0 `1744272604.01014 1744272000.0 `1744272614.009125 1744272000.0 `1744272624.010137 1744272000.0 `1744272634.010144 1744272000.0 `1744272644.01014 1744272000.0 `1744272654.010135 1744272000.0 `1744272664.010159 1744272000.0 `1744272683.009123 1744272000.0 `1744272704.010133 1744272000.0 `1744272714.010139 1744272000.0 `1744272724.010142 1744272000.0 `1744272734.010136 1744272000.0 `1744272744.010138 1744272000.0 `1744272754.010136 1744272000.0 `1744272764.009127 1744272000.0 `1744272774.010136 1744272000.0 `1744272784.010136 1744272000.0 `1744272794.010138 1744272000.0 `1744272804.010137 1744272000.0 `1744272814.010135 1744272000.0 `1744272854.010139 1744272000.0 `1744272864.010149 1744272000.0 `1744272874.010134 1744272000.0 `1744272884.010139 1744272000.0 `1744272894.010137 1744272000.0 `1744272904.009137 1744272900.0 `1744272914.010135 1744272900.0 `1744272924.010134 1744272900.0 `1744272934.010134 1744272900.0 `1744272944.010135 1744272900.0 `1744272964.010145 1744272900.0 `1744272974.010137 1744272900.0 `1744272984.009126 1744272900.0 `1744272994.010135 1744272900.0 `1744273004.010136 1744272900.0 `1744273054.009125 1744272900.0 `1744273094.010133 1744272900.0 `1744273104.010135 1744272900.0 `1744273114.010141 1744272900.0 `1744273124.009128 1744272900.0 `1744273134.010138 1744272900.0 `1744273144.010151 1744272900.0 `1744273154.010135 1744272900.0 `1744273164.010137 1744272900.0 `1744273204.010142 1744272900.0 `1744273214.010138 1744272900.0 `1744273224.010136 1744272900.0 `1744273234.010141 1744272900.0 `1744273244.01014 1744272900.0 `1744273254.010136 1744272900.0 `1744273263.009137 1744272900.0 `1744273304.010133 1744272900.0 `1744273314.010133 1744272900.0 `1744273324.010146 1744272900.0 `1744273334.010141 1744272900.0 `1744273344.009125 1744272900.0 `1744273354.010142 1744272900.0 `1744273364.010145 1744272900.0 `1744273374.010137 1744272900.0 `1744273384.010148 1744272900.0 `1744273394.010138 1744272900.0 `1744273404.010136 1744272900.0 `1744273413.009125 1744272900.0 `1744273444.010136 1744272900.0 `1744273454.010134 1744272900.0 `1744273464.010136 1744272900.0 `1744273474.010141 1744272900.0 `1744273484.010137 1744272900.0 `1744273494.009126 1744272900.0 `1744273504.010145 1744272900.0 `1744273524.010135 1744272900.0 `1744273534.010134 1744272900.0 `1744273544.010139 1744272900.0 `1744273554.010136 1744272900.0 `1744273564.009137 1744272900.0 `1744273574.010137 1744272900.0 `1744273604.010134 1744272900.0 `1744273614.010135 1744272900.0 `1744273624.010153 1744272900.0 `1744273633.009128 1744272900.0 `1744273654.010137 1744272900.0 `1744273664.010138 1744272900.0 `1744273674.010136 1744272900.0 `1744273684.010152 1744272900.0 `1744273694.010136 1744272900.0 `1744273704.010135 1744272900.0 `1744273714.009125 1744272900.0 `1744273724.010136 1744272900.0 `1744273734.010135 1744272900.0 `1744273744.01015 1744272900.0 `1744273784.009123 1744272900.0 `1744273794.010137 1744272900.0 `1744273904.010137 1744273800.0 `1744273914.010136 1744273800.0 `1744274004.009125 1744273800.0 `1744274014.010137 1744273800.0 `1744274024.010138 1744273800.0 `1744274034.010137 1744273800.0 `1744274044.010136 1744273800.0 `1744274054.010133 1744273800.0 `1744274064.010135 1744273800.0 `1744274074.009124 1744273800.0 `1744274084.010135 1744273800.0 `1744274094.010138 1744273800.0 `1744274104.010147 1744273800.0 `1744274114.010139 1744273800.0 `1744274124.010142 1744273800.0 `1744274134.010136 1744273800.0 `1744274174.010135 1744273800.0 `1744274194.010136 1744273800.0 `1744274204.010138 1744273800.0 `1744274224.009146 1744273800.0 `1744274234.010138 1744273800.0 `1744274244.010137 1744273800.0 `1744274254.010138 1744273800.0 `1744274264.010135 1744273800.0 `1744274283.009145 1744273800.0 `1744274304.010135 1744273800.0 `1744274324.010135 1744273800.0 `1744274334.010136 1744273800.0 `1744274344.010162 1744273800.0 `1744274354.010137 1744273800.0 `1744274374.010136 1744273800.0 `1744274384.010137 1744273800.0 `1744274424.00932 1744273800.0 `1744274434.010133 1744273800.0 `1744274444.010137 1744273800.0 `1744274454.01014 1744273800.0 `1744274464.010152 1744273800.0 `1744274474.010133 1744273800.0 `1744274484.010136 1744273800.0 `1744274494.00913 1744273800.0 `1744274504.010139 1744273800.0 `1744274514.010134 1744273800.0 `1744274524.010149 1744273800.0 `1744274534.010136 1744273800.0 `1744274544.010135 1744273800.0 `1744274554.010133 1744273800.0 `1744274564.009123 1744273800.0 `1744274584.010165 1744273800.0 `1744274594.010137 1744273800.0 `1744274634.009132 1744273800.0 `1744274644.010151 1744273800.0 `1744274654.010135 1744273800.0 `1744274664.010134 1744273800.0 `1744274674.010141 1744273800.0 `1744274684.010138 1744273800.0 `1744274694.010136 1744273800.0 `1744274703.00914 1744274700.0 `1744274714.010136 1744274700.0 `1744274724.010146 1744274700.0 `1744274744.01014 1744274700.0 `1744274754.010138 1744274700.0 `1744274764.01017 1744274700.0 `1744274773.009128 1744274700.0 `1744274784.010139 1744274700.0 `1744274794.010138 1744274700.0 `1744274814.01014 1744274700.0 `1744274824.010167 1744274700.0 `1744274864.010136 1744274700.0 `1744274874.010142 1744274700.0 `1744274884.010141 1744274700.0 `1744274894.010134 1744274700.0 `1744274904.010137 1744274700.0 `1744274914.01014 1744274700.0 `1744274924.009126 1744274700.0 `1744274934.010138 1744274700.0 `1744274954.010135 1744274700.0 `1744274964.010135 1744274700.0 `1744274984.010134 1744274700.0 list printed: [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40], [41, 42, 43], [44], [45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100], [101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150], [151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215], [216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 24