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 : 246958 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 : 2264>1000 please execute split_portfolio.py -i 21894590 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2709904'] with mtr_portfolio_ids : ['21894590'] and first list_photo_ids : [] new path : /proc/246958/ 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.12653231620788574 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Mon Mar 31 17:46:28 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'}] (('05', 119), ('06', 286), ('07', 244), ('08', 125), ('09', 98), ('10', 235), ('11', 163), ('12', 36), ('13', 83), ('14', 256), ('15', 277), ('16', 233), ('17', 109)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 2048} 31032025 21894590 Nombre de photos uploadées : 402 / 23040 (1%) 31032025 21894590 Nombre de photos taguées (types de déchets): 2048 / 402 (509%) 31032025 21894590 Nombre de photos taguées (volume) : 2048 / 402 (509%) elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 0.0007627010345458984 ?????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.05763745307922363 elapsed_time : insert_dashboard_record_day_entry 0.023427248001098633 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 elapsed_time : list_photo_by_hashtags 0.01617908477783203 photos_removed : len 0 elapsed_time : load_duplicate_info 0.023494720458984375 ***** BEGIN SPLIT TIME ***** True 1743379200.0 `1743428754.010138 1743428700.0 `1743428764.010146 1743428700.0 `1743428803.010138 1743428700.0 `1743428824.010165 1743428700.0 `1743428834.01014 1743428700.0 `1743428844.010141 1743428700.0 `1743428853.009128 1743428700.0 `1743428863.010144 1743428700.0 `1743428873.010137 1743428700.0 `1743428884.010155 1743428700.0 `1743428894.010139 1743428700.0 `1743428904.010135 1743428700.0 `1743428914.010136 1743428700.0 `1743428923.009125 1743428700.0 `1743428933.010142 1743428700.0 `1743428964.01014 1743428700.0 `1743428974.010134 1743428700.0 `1743428984.010138 1743428700.0 `1743428993.009131 1743428700.0 `1743429003.010148 1743428700.0 `1743429013.01014 1743428700.0 `1743429024.010135 1743428700.0 `1743429034.01014 1743428700.0 `1743429044.010144 1743428700.0 `1743429054.01014 1743428700.0 `1743429063.00916 1743428700.0 `1743429083.010141 1743428700.0 `1743429094.010134 1743428700.0 `1743429104.010136 1743428700.0 `1743429114.010137 1743428700.0 `1743429124.010149 1743428700.0 `1743429163.010132 1743428700.0 `1743429174.010136 1743428700.0 `1743429184.010143 1743428700.0 `1743429204.010134 1743428700.0 `1743429223.010143 1743428700.0 `1743429244.01014 1743428700.0 `1743429254.010138 1743428700.0 `1743429264.010135 1743428700.0 `1743429274.010138 1743428700.0 `1743429283.009134 1743428700.0 `1743429293.010138 1743428700.0 `1743429303.010155 1743428700.0 `1743429314.010135 1743428700.0 `1743429324.010142 1743428700.0 `1743429334.010139 1743428700.0 `1743429373.010139 1743428700.0 `1743429384.010139 1743428700.0 `1743429394.010143 1743428700.0 `1743429404.010144 1743428700.0 `1743429423.009145 1743428700.0 `1743429433.010142 1743428700.0 `1743429443.01014 1743428700.0 `1743429454.010136 1743428700.0 `1743429464.010136 1743428700.0 `1743429484.010147 1743428700.0 `1743429493.009124 1743428700.0 `1743429513.010135 1743428700.0 `1743429523.010134 1743428700.0 `1743429534.010135 1743428700.0 `1743429614.010193 1743429600.0 `1743429634.010139 1743429600.0 `1743429644.010137 1743429600.0 `1743429665.010154 1743429600.0 `1743429684.010135 1743429600.0 `1743429694.010142 1743429600.0 `1743429704.010144 1743429600.0 `1743429714.010142 1743429600.0 `1743429725.010141 1743429600.0 `1743429735.010137 1743429600.0 `1743429744.009126 1743429600.0 `1743429754.010136 1743429600.0 `1743429764.010138 1743429600.0 `1743429774.010137 1743429600.0 `1743429805.010134 1743429600.0 `1743429815.010131 1743429600.0 `1743429824.009124 1743429600.0 `1743429834.010137 1743429600.0 `1743429844.010139 1743429600.0 `1743429854.010138 1743429600.0 `1743429875.010142 1743429600.0 `1743429885.010139 1743429600.0 `1743429894.009129 1743429600.0 `1743429904.010157 1743429600.0 `1743429914.010136 1743429600.0 `1743429924.010135 1743429600.0 `1743429934.010135 1743429600.0 `1743429945.010136 1743429600.0 `1743429955.010135 1743429600.0 `1743429964.009145 1743429600.0 `1743429974.010139 1743429600.0 `1743429984.010135 1743429600.0 `1743429994.010145 1743429600.0 `1743430044.009123 1743429600.0 `1743430054.010138 1743429600.0 `1743430064.010141 1743429600.0 `1743430074.010139 1743429600.0 `1743430095.01014 1743429600.0 `1743430114.01014 1743429600.0 `1743430124.010143 1743429600.0 `1743430134.010135 1743429600.0 `1743430154.010134 1743429600.0 `1743430165.010135 1743429600.0 `1743430184.009125 1743429600.0 `1743430194.010137 1743429600.0 `1743430204.010157 1743429600.0 `1743430214.010137 1743429600.0 `1743430224.010134 1743429600.0 `1743430235.010135 1743429600.0 `1743430245.010133 1743429600.0 `1743430274.010135 1743429600.0 `1743430294.010135 1743429600.0 `1743430305.010134 1743429600.0 `1743430484.010137 1743429600.0 `1743430525.010133 1743430500.0 `1743430544.009126 1743430500.0 `1743430554.010135 1743430500.0 `1743430584.010133 1743430500.0 `1743430595.010146 1743430500.0 `1743430624.010158 1743430500.0 `1743430634.010137 1743430500.0 `1743430644.010135 1743430500.0 `1743430654.010137 1743430500.0 `1743430665.010139 1743430500.0 `1743430675.010137 1743430500.0 `1743430684.009134 1743430500.0 `1743430694.010135 1743430500.0 `1743430704.010135 1743430500.0 `1743430714.010134 1743430500.0 `1743430724.010134 1743430500.0 `1743430984.010152 1743430500.0 `1743431014.010143 1743430500.0 `1743431025.010136 1743430500.0 `1743431035.010138 1743430500.0 `1743431044.009138 1743430500.0 `1743431054.010139 1743430500.0 `1743431064.010139 1743430500.0 `1743431074.010135 1743430500.0 `1743431084.010138 1743430500.0 `1743431095.010139 1743430500.0 `1743431144.010136 1743430500.0 `1743431165.010159 1743430500.0 `1743431184.009129 1743430500.0 `1743431194.010144 1743430500.0 `1743431224.010154 1743430500.0 `1743431234.010132 1743430500.0 `1743431245.010134 1743430500.0 `1743431255.010145 1743430500.0 `1743431274.010139 1743430500.0 `1743431284.010149 1743430500.0 `1743431294.010137 1743430500.0 `1743431304.010136 1743430500.0 `1743431325.010135 1743430500.0 `1743431334.009128 1743430500.0 `1743431344.01015 1743430500.0 `1743431354.010137 1743430500.0 `1743431364.010135 1743430500.0 `1743431385.010135 1743430500.0 `1743431395.010136 1743430500.0 `1743431404.009141 1743431400.0 `1743431434.010133 1743431400.0 `1743431444.010133 1743431400.0 `1743431455.010135 1743431400.0 `1743431465.010152 1743431400.0 `1743431484.010138 1743431400.0 `1743431494.010136 1743431400.0 `1743431504.010135 1743431400.0 `1743431514.010136 1743431400.0 `1743431524.010155 1743431400.0 `1743431535.010135 1743431400.0 `1743431545.010136 1743431400.0 `1743431554.009123 1743431400.0 `1743431574.010136 1743431400.0 `1743431584.010153 1743431400.0 `1743431594.010135 1743431400.0 `1743431605.010135 1743431400.0 `1743431615.010133 1743431400.0 `1743431654.010135 1743431400.0 `1743431664.010134 1743431400.0 `1743431675.010138 1743431400.0 `1743431694.009126 1743431400.0 `1743431704.010143 1743431400.0 `1743431714.010137 1743431400.0 `1743431724.010134 1743431400.0 `1743431734.010135 1743431400.0 `1743431744.010137 1743431400.0 `1743431755.010137 1743431400.0 `1743431765.010144 1743431400.0 `1743431774.009125 1743431400.0 `1743431784.010136 1743431400.0 `1743431794.010134 1743431400.0 `1743431825.010151 1743431400.0 `1743431835.010134 1743431400.0 `1743431844.009123 1743431400.0 `1743431874.010134 1743431400.0 `1743431914.009124 1743431400.0 `1743431924.010137 1743431400.0 `1743431964.010133 1743431400.0 `1743431985.010134 1743431400.0 `1743431994.009126 1743431400.0 `1743432004.010143 1743431400.0 `1743432014.010138 1743431400.0 `1743432024.010138 1743431400.0 `1743432034.010142 1743431400.0 `1743432045.010138 1743431400.0 `1743432055.010138 1743431400.0 `1743432064.009145 1743431400.0 `1743432074.010137 1743431400.0 `1743432084.010139 1743431400.0 `1743432094.010136 1743431400.0 `1743432134.009123 1743431400.0 `1743432144.010134 1743431400.0 `1743432164.010138 1743431400.0 `1743432174.010137 1743431400.0 `1743432185.010179 1743431400.0 `1743432204.009125 1743431400.0 `1743432214.010135 1743431400.0 `1743432224.010138 1743431400.0 `1743432244.010144 1743431400.0 `1743432265.010136 1743431400.0 `1743432274.009126 1743431400.0 `1743432284.010136 1743431400.0 `1743432294.010138 1743431400.0 `1743432314.010135 1743432300.0 `1743432324.010134 1743432300.0 `1743432335.010134 1743432300.0 `1743432405.010135 1743432300.0 `1743432415.010139 1743432300.0 `1743432424.009129 1743432300.0 `1743432434.010134 1743432300.0 `1743432444.010133 1743432300.0 `1743432454.01015 1743432300.0 `1743432464.010135 1743432300.0 `1743432485.010145 1743432300.0 `1743432504.010135 1743432300.0 `1743432514.010134 1743432300.0 `1743432524.010136 1743432300.0 `1743432534.010137 1743432300.0 `1743432545.010144 1743432300.0 `1743432555.010135 1743432300.0 `1743432565.010135 1743432300.0 `1743432574.009124 1743432300.0 `1743432584.010135 1743432300.0 `1743432635.010132 1743432300.0 `1743432644.009123 1743432300.0 `1743432654.010135 1743432300.0 `1743432664.010141 1743432300.0 `1743432674.010137 1743432300.0 `1743432684.010135 1743432300.0 `1743432695.010138 1743432300.0 `1743432705.010139 1743432300.0 `1743432714.009125 1743432300.0 `1743432724.010152 1743432300.0 `1743432734.010142 1743432300.0 `1743432744.010135 1743432300.0 `1743432754.010134 1743432300.0 `1743432754.010134 1743432300.0 `1743432784.009138 1743432300.0 `1743432784.009138 1743432300.0 `1743432794.010134 1743432300.0 `1743432794.010134 1743432300.0 `1743432804.010137 1743432300.0 `1743432804.010137 1743432300.0 `1743432824.010137 1743432300.0 `1743432824.010137 1743432300.0 `1743432834.01014 1743432300.0 `1743432845.010165 1743432300.0 `1743432854.009131 1743432300.0 `1743432864.010135 1743432300.0 `1743432874.010134 1743432300.0 `1743432884.010136 1743432300.0 `1743432904.010148 1743432300.0 `1743432925.010136 1743432300.0 `1743432934.009125 1743432300.0 `1743432974.010133 1743432300.0 `1743432985.010133 1743432300.0 `1743432995.010134 1743432300.0 `1743433014.010136 1743432300.0 `1743433024.010134 1743432300.0 `1743433034.010135 1743432300.0 `1743433044.010138 1743432300.0 `1743433054.010136 1743432300.0 `1743433065.010135 1743432300.0 `1743433075.010136 1743432300.0 `1743433084.009149 1743432300.0 `1743433094.010151 1743432300.0 `1743433104.010135 1743432300.0 `1743433114.010134 1743432300.0 `1743433124.010135 1743432300.0 `1743433163.010145 1743432300.0 `1743433173.010136 1743432300.0 `1743433183.010136 1743432300.0 `1743433193.010138 1743432300.0 `1743433204.010144 1743433200.0 `1743433224.010136 1743433200.0 `1743433243.010135 1743433200.0 `1743433253.010135 1743433200.0 `1743433263.010161 1743433200.0 `1743433274.010136 1743433200.0 `1743433294.010135 1743433200.0 `1743433303.009127 1743433200.0 `1743433313.010136 1743433200.0 `1743433323.010151 1743433200.0 `1743433333.010142 1743433200.0 `1743433344.010134 1743433200.0 `1743433564.010153 1743433200.0 `1743433574.010137 1743433200.0 `1743433584.010144 1743433200.0 `1743433593.009133 1743433200.0 `1743433603.010141 1743433200.0 `1743433613.010136 1743433200.0 `1743433623.010136 1743433200.0 `1743433644.01018 1743433200.0 `1743433654.010142 1743433200.0 `1743433663.009125 1743433200.0 `1743433673.010136 1743433200.0 `1743433683.010152 1743433200.0 `1743433693.010136 1743433200.0 `1743433733.009126 1743433200.0 `1743433743.01015 1743433200.0 `1743433753.010138 1743433200.0 `1743433763.010141 1743433200.0 `1743433774.01014 1743433200.0 `1743433784.01014 1743433200.0 `1743433794.010138 1743433200.0 `1743433803.009127 1743433200.0 `1743433813.010141 1743433200.0 `1743433823.010135 1743433200.0 `1743433833.010134 1743433200.0 `1743433844.010135 1743433200.0 `1743433883.010133 1743433200.0 `1743433893.010133 1743433200.0 `1743433903.010139 1743433200.0 `1743433913.010136 1743433200.0 `1743433934.010142 1743433200.0 `1743433944.010134 1743433200.0 `1743433953.009125 1743433200.0 `1743433973.010136 1743433200.0 `1743434004.010133 1743433200.0 `1743434033.010143 1743433200.0 `1743434053.010137 1743433200.0 `1743434064.010135 1743433200.0 `1743434144.010138 1743434100.0 `1743434164.010142 1743434100.0 `1743434173.009126 1743434100.0 `1743434183.010135 1743434100.0 `1743434224.010142 1743434100.0 `1743434234.010134 1743434100.0 `1743434243.009123 1743434100.0 `1743434273.010136 1743434100.0 `1743434294.010141 1743434100.0 `1743434304.010135 1743434100.0 `1743434313.009126 1743434100.0 `1743434333.010142 1743434100.0 `1743434343.010151 1743434100.0 `1743434354.010138 1743434100.0 `1743434374.010138 1743434100.0 `1743434383.009126 1743434100.0 `1743434403.010145 1743434100.0 `1743434413.010153 1743434100.0 `1743434424.010135 1743434100.0 `1743434434.010136 1743434100.0 `1743434493.010135 1743434100.0 `1743434504.010137 1743434100.0 `1743434524.010159 1743434100.0 `1743434533.009125 1743434100.0 `1743434563.010141 1743434100.0 `1743434584.010153 1743434100.0 `1743434594.010136 1743434100.0 `1743434603.009125 1743434100.0 `1743434613.010139 1743434100.0 `1743434623.010144 1743434100.0 `1743434633.010136 1743434100.0 `1743434644.010155 1743434100.0 `1743434664.010135 1743434100.0 `1743434683.010136 1743434100.0 `1743434693.010139 1743434100.0 `1743434703.010173 1743434100.0 `1743434743.009128 1743434100.0 `1743434753.010143 1743434100.0 `1743434763.010149 1743434100.0 `1743434784.010136 1743434100.0 `1743434794.010145 1743434100.0 `1743434804.010136 1743434100.0 `1743434813.009129 1743434100.0 `1743434823.010139 1743434100.0 `1743434833.010134 1743434100.0 `1743434854.010134 1743434100.0 `1743434864.010212 1743434100.0 `1743434873.009124 1743434100.0 `1743434883.010142 1743434100.0 `1743434893.01014 1743434100.0 `1743434924.010135 1743434100.0 `1743434934.010143 1743434100.0 `1743434944.01015 1743434100.0 `1743434963.010142 1743434100.0 `1743434973.010141 1743434100.0 `1743434983.010141 1743434100.0 `1743434994.010137 1743434100.0 `1743435004.010138 1743435000.0 `1743435014.010139 1743435000.0 `1743435023.009126 1743435000.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, 1