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 : 59742 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 list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2731569'] with mtr_portfolio_ids : ['22126404'] and first list_photo_ids : [] new path : /proc/59742/ 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.052321434020996094 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Tue Apr 8 07:18: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'}] (('00', 16), ('01', 4), ('02', 22), ('03', 22), ('04', 7), ('05', 184), ('06', 183), ('07', 41)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 380} 08042025 22126404 Nombre de photos uploadées : 383 / 23040 (1%) 08042025 22126404 Nombre de photos taguées (types de déchets): 380 / 383 (99%) 08042025 22126404 Nombre de photos taguées (volume) : 380 / 383 (99%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 0.00015044212341308594 ?????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.016598224639892578 elapsed_time : insert_dashboard_record_day_entry 0.022304773330688477 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 elapsed_time : list_photo_by_hashtags 0.0334775447845459 photos_removed : len 0 elapsed_time : load_duplicate_info 0.036890506744384766 ***** BEGIN SPLIT TIME ***** True 1744070400.0 `1744082124.010207 1744082100.0 `1744082494.010139 1744082100.0 `1744082544.010135 1744082100.0 `1744082554.010135 1744082100.0 `1744082574.010139 1744082100.0 `1744082585.010136 1744082100.0 `1744082594.009128 1744082100.0 `1744082604.010136 1744082100.0 `1744082614.010142 1744082100.0 `1744082624.010137 1744082100.0 `1744082634.010135 1744082100.0 `1744082644.010159 1744082100.0 `1744082654.010142 1744082100.0 `1744082664.009126 1744082100.0 `1744082674.010135 1744082100.0 `1744082684.010137 1744082100.0 `1744082724.010134 1744082100.0 `1744082744.010132 1744082100.0 `1744082774.010138 1744082100.0 `1744082794.01014 1744082100.0 `1744082805.010138 1744082100.0 `1744082824.010136 1744082100.0 `1744082844.010136 1744082100.0 `1744082864.010137 1744082100.0 `1744082904.010135 1744082100.0 `1744082914.010139 1744082100.0 `1744082934.010138 1744082100.0 `1744082954.009124 1744082100.0 `1744082964.010135 1744082100.0 `1744082994.010136 1744082100.0 `1744083004.010142 1744083000.0 `1744083014.010144 1744083000.0 `1744083044.010141 1744083000.0 `1744083074.010136 1744083000.0 `1744083104.009127 1744083000.0 `1744083124.010148 1744083000.0 `1744083134.010135 1744083000.0 `1744083144.010136 1744083000.0 `1744083154.01014 1744083000.0 `1744083165.010137 1744083000.0 `1744083174.009126 1744083000.0 `1744083194.010136 1744083000.0 `1744083204.010136 1744083000.0 `1744083214.010136 1744083000.0 `1744083224.010136 1744083000.0 `1744083224.010136 1744083000.0 `1744083264.010137 1744083000.0 `1744083264.010137 1744083000.0 `1744083284.010134 1744083000.0 `1744083284.010134 1744083000.0 `1744083294.01014 1744083000.0 `1744083304.010153 1744083000.0 `1744083314.009127 1744083000.0 `1744083324.010144 1744083000.0 `1744083334.010139 1744083000.0 `1744083344.010139 1744083000.0 `1744083354.010139 1744083000.0 `1744083364.010142 1744083000.0 `1744083374.010148 1744083000.0 `1744083424.010139 1744083000.0 `1744083434.010137 1744083000.0 `1744083444.010135 1744083000.0 `1744083455.010135 1744083000.0 `1744083464.009123 1744083000.0 `1744083504.010136 1744083000.0 `1744083514.010134 1744083000.0 `1744083524.010136 1744083000.0 `1744083534.009127 1744083000.0 `1744083544.01015 1744083000.0 `1744083554.010135 1744083000.0 `1744083564.010134 1744083000.0 `1744083574.010135 1744083000.0 `1744083594.010138 1744083000.0 `1744083614.010144 1744083000.0 `1744083624.010135 1744083000.0 `1744083664.010148 1744083000.0 `1744083684.009124 1744083000.0 `1744083694.010139 1744083000.0 `1744083704.010137 1744083000.0 `1744083754.009123 1744083000.0 `1744083764.010133 1744083000.0 `1744083774.010134 1744083000.0 `1744083784.010162 1744083000.0 `1744083804.010135 1744083000.0 `1744083814.010137 1744083000.0 `1744083834.010138 1744083000.0 `1744083854.010139 1744083000.0 `1744083864.010136 1744083000.0 `1744083874.010146 1744083000.0 `1744083884.010137 1744083000.0 `1744083894.009126 1744083000.0 `1744083904.01014 1744083900.0 `1744083914.010138 1744083900.0 `1744083954.010159 1744083900.0 `1744083964.009142 1744083900.0 `1744083974.010143 1744083900.0 `1744083984.010139 1744083900.0 `1744083994.01014 1744083900.0 `1744084004.010141 1744083900.0 `1744084014.010134 1744083900.0 `1744084024.010143 1744083900.0 `1744084035.010138 1744083900.0 `1744084054.010135 1744083900.0 `1744084064.010135 1744083900.0 `1744084074.010138 1744083900.0 `1744084084.010143 1744083900.0 `1744084094.010135 1744083900.0 `1744084114.009125 1744083900.0 `1744084124.010136 1744083900.0 `1744084164.010136 1744083900.0 `1744084174.010136 1744083900.0 `1744084184.00913 1744083900.0 `1744084194.01014 1744083900.0 `1744084204.010155 1744083900.0 `1744084214.010134 1744083900.0 `1744084224.010136 1744083900.0 `1744084234.010141 1744083900.0 `1744084244.010137 1744083900.0 `1744084254.009126 1744083900.0 `1744084264.010154 1744083900.0 `1744084274.010139 1744083900.0 `1744084284.010134 1744083900.0 `1744084294.010134 1744083900.0 `1744084304.010133 1744083900.0 `1744084325.010154 1744083900.0 `1744084334.009127 1744083900.0 `1744084344.010132 1744083900.0 `1744084364.010136 1744083900.0 `1744084374.010138 1744083900.0 `1744084384.010159 1744083900.0 `1744084395.010134 1744083900.0 `1744084404.009125 1744083900.0 `1744084414.010136 1744083900.0 `1744084424.010138 1744083900.0 `1744084434.01014 1744083900.0 `1744084444.010156 1744083900.0 `1744084454.010135 1744083900.0 `1744084494.010136 1744083900.0 `1744084504.010135 1744083900.0 `1744084524.010147 1744083900.0 `1744084534.010146 1744083900.0 `1744084554.010138 1744083900.0 `1744084564.010165 1744083900.0 `1744084574.010143 1744083900.0 `1744084584.010136 1744083900.0 `1744084604.010138 1744083900.0 `1744084614.009126 1744083900.0 `1744084624.010154 1744083900.0 `1744084634.010137 1744083900.0 `1744084644.010134 1744083900.0 `1744084685.010138 1744083900.0 `1744084704.010134 1744083900.0 `1744084714.010165 1744083900.0 `1744084724.010138 1744083900.0 `1744084734.010137 1744083900.0 `1744084754.011003 1744083900.0 `1744084763.009128 1744083900.0 `1744084773.010136 1744083900.0 `1744084794.010135 1744083900.0 `1744084804.010148 1744084800.0 `1744084814.010135 1744084800.0 `1744084824.010137 1744084800.0 `1744084833.009123 1744084800.0 `1744084843.010136 1744084800.0 `1744084854.010136 1744084800.0 `1744084894.010132 1744084800.0 `1744084903.009122 1744084800.0 `1744084913.010136 1744084800.0 `1744084934.010143 1744084800.0 `1744084954.010151 1744084800.0 `1744085053.010143 1744084800.0 `1744085094.010136 1744084800.0 `1744085444.010141 1744084800.0 `1744085483.010138 1744084800.0 `1744085494.010145 1744084800.0 `1744085524.010169 1744084800.0 `1744085534.01014 1744084800.0 `1744085553.010144 1744084800.0 `1744085584.01015 1744084800.0 `1744085604.010136 1744084800.0 `1744085613.009129 1744084800.0 `1744085623.010148 1744084800.0 `1744085634.010149 1744084800.0 `1744085644.010155 1744084800.0 `1744085654.010142 1744084800.0 `1744085664.010134 1744084800.0 `1744085674.010134 1744084800.0 `1744085714.010134 1744085700.0 `1744085724.010138 1744085700.0 `1744085734.010132 1744085700.0 `1744085744.010134 1744085700.0 `1744085763.009146 1744085700.0 `1744085784.010135 1744085700.0 `1744085804.010145 1744085700.0 `1744085833.009126 1744085700.0 `1744085854.010143 1744085700.0 `1744085864.01014 1744085700.0 `1744085884.010144 1744085700.0 `1744085894.010135 1744085700.0 `1744085903.009126 1744085700.0 `1744085913.010144 1744085700.0 `1744085924.01014 1744085700.0 `1744085944.010137 1744085700.0 `1744085954.010135 1744085700.0 `1744085964.010133 1744085700.0 `1744085993.010134 1744085700.0 `1744086034.010133 1744085700.0 `1744086043.009124 1744085700.0 `1744086053.010139 1744085700.0 `1744086074.010134 1744085700.0 `1744086084.010165 1744085700.0 `1744086094.010142 1744085700.0 `1744086104.010143 1744085700.0 `1744086113.009127 1744085700.0 `1744086123.010153 1744085700.0 `1744086133.010141 1744085700.0 `1744086144.010135 1744085700.0 `1744086154.010135 1744085700.0 `1744086164.010137 1744085700.0 `1744086174.010137 1744085700.0 `1744086183.009156 1744085700.0 `1744086193.01014 1744085700.0 `1744086203.010139 1744085700.0 `1744086244.010135 1744085700.0 `1744086254.010134 1744085700.0 `1744086263.009126 1744085700.0 `1744086273.010139 1744085700.0 `1744086284.01014 1744085700.0 `1744086294.010136 1744085700.0 `1744086304.010141 1744085700.0 `1744086314.010139 1744085700.0 `1744086324.010137 1744085700.0 `1744086333.009127 1744085700.0 `1744086343.010139 1744085700.0 `1744086353.010138 1744085700.0 `1744086364.010163 1744085700.0 `1744086374.010138 1744085700.0 `1744086384.010135 1744085700.0 `1744086394.010143 1744085700.0 `1744086413.01014 1744085700.0 `1744086423.010139 1744085700.0 `1744086434.010141 1744085700.0 `1744086444.010144 1744085700.0 `1744086514.010143 1744085700.0 `1744086534.010136 1744085700.0 `1744086563.010135 1744085700.0 `1744086574.010137 1744085700.0 `1744086584.010137 1744085700.0 `1744086594.010135 1744085700.0 `1744086604.010144 1744086600.0 `1744086614.010134 1744086600.0 `1744086633.010139 1744086600.0 `1744086654.010137 1744086600.0 `1744086664.010157 1744086600.0 `1744086674.010136 1744086600.0 `1744086684.010134 1744086600.0 `1744086693.009127 1744086600.0 `1744086703.010139 1744086600.0 `1744086724.010155 1744086600.0 `1744086734.010145 1744086600.0 `1744086744.010136 1744086600.0 `1744086773.009131 1744086600.0 `1744086783.01015 1744086600.0 `1744086794.010134 1744086600.0 `1744086804.010133 1744086600.0 `1744086814.010135 1744086600.0 `1744086824.010136 1744086600.0 `1744086834.010136 1744086600.0 `1744086853.010137 1744086600.0 `1744086874.010135 1744086600.0 `1744086884.01014 1744086600.0 `1744086894.010137 1744086600.0 `1744086904.010151 1744086600.0 `1744086913.009126 1744086600.0 `1744086923.01014 1744086600.0 `1744086954.010138 1744086600.0 `1744086964.010146 1744086600.0 `1744086974.010138 1744086600.0 `1744086993.010143 1744086600.0 `1744087003.010144 1744086600.0 `1744087014.010139 1744086600.0 `1744087024.010144 1744086600.0 `1744087034.010141 1744086600.0 `1744087044.010136 1744086600.0 `1744087104.010136 1744086600.0 `1744087264.01015 1744086600.0 `1744087273.009127 1744086600.0 `1744087283.010141 1744086600.0 `1744087294.01014 1744086600.0 `1744087304.01014 1744086600.0 `1744087314.010137 1744086600.0 `1744087324.010169 1744086600.0 `1744087364.010134 1744086600.0 `1744087374.010135 1744086600.0 `1744087384.010154 1744086600.0 `1744087404.010134 1744086600.0 `1744087413.00913 1744086600.0 `1744087423.01014 1744086600.0 `1744087433.010136 1744086600.0 `1744087444.010145 1744086600.0 `1744087454.010147 1744086600.0 `1744087464.010135 1744086600.0 `1744087474.010136 1744086600.0 `1744087483.009126 1744086600.0 `1744087493.010138 1744086600.0 `1744087503.01017 1744087500.0 `1744087544.010139 1744087500.0 `1744087563.01015 1744087500.0 `1744087573.010142 1744087500.0 `1744087594.010141 1744087500.0 `1744087604.010143 1744087500.0 `1744087614.010145 1744087500.0 `1744087633.01014 1744087500.0 `1744087664.010137 1744087500.0 `1744087674.01014 1744087500.0 `1744087684.010145 1744087500.0 `1744087694.010136 1744087500.0 `1744087713.010138 1744087500.0 `1744087734.010136 1744087500.0 `1744087744.010153 1744087500.0 `1744087754.010134 1744087500.0 `1744087764.010137 1744087500.0 `1744087804.010144 1744087500.0 `1744087814.010132 1744087500.0 `1744087824.010134 1744087500.0 `1744087843.009128 1744087500.0 `1744087853.010137 1744087500.0 `1744087863.010151 1744087500.0 `1744087874.010136 1744087500.0 `1744087884.010134 1744087500.0 `1744087894.010133 1744087500.0 `1744087913.009127 1744087500.0 `1744087923.010146 1744087500.0 `1744087933.01014 1744087500.0 `1744087944.010138 1744087500.0 `1744087954.010132 1744087500.0 `1744087993.009126 1744087500.0 `1744088024.010135 1744087500.0 `1744088044.010138 1744087500.0 `1744088143.010144 1744087500.0 `1744088203.00913 1744087500.0 `1744088354.010997 1744087500.0 `1744088714.010137 1744088400.0 `1744088754.010138 1744088400.0 `1744088784.010134 1744088400.0 `1744088794.01014 1744088400.0 `1744088804.010141 1744088400.0 `1744088814.010136 1744088400.0 `1744088833.009128 1744088400.0 `1744088854.010136 1744088400.0 `1744088874.010138 1744088400.0 `1744088884.01014 1744088400.0 `1744088894.010136 1744088400.0 `1744089104.010134 1744088400.0 `1744089114.010134 1744088400.0 `1744089133.010133 1744088400.0 `1744089144.010134 1744088400.0 `1744089144.010134 1744088400.0 `1744089154.010136 1744088400.0 `1744089154.010136 1744088400.0 `1744089164.010134 1744088400.0 `1744089164.010134 1744088400.0 `1744089174.010134 1744088400.0 `1744089174.010134 1744088400.0 `1744089214.010133 1744088400.0 `1744089214.010133 1744088400.0 `1744089224.010133 1744088400.0 `1744089224.010133 1744088400.0 `1744089234.010134 1744088400.0 `1744089244.010149 1744088400.0 `1744089254.010134 1744088400.0 `1744089263.009123 1744088400.0 `1744089273.010133 1744088400.0 `1744089283.010133 1744088400.0 `1744089294.010134 1744088400.0 `1744089314.010134 1744089300.0 `1744089324.010132 1744089300.0 `1744089334.010134 1744089300.0 `1744089343.009124 1744089300.0 `1744089374.010139 1744089300.0 `1744089384.010134 1744089300.0 `1744089394.010136 1744089300.0 `1744089404.010137 1744089300.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, 2