python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4883' -s datou_current_4883 -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 : 2367143 load datou : 4883 # 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 : 1443>1000 please execute split_portfolio.py -i 20385772 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4883, datou_cur_ids : ['2571283'] with mtr_portfolio_ids : ['20385772'] and first list_photo_ids : [] new path : /proc/2367143/ 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.024753570556640625 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Mon Feb 10 13:46:30 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', 165), ('06', 191), ('07', 199), ('08', 219), ('09', 70), ('10', 267), ('11', 263), ('12', 51), ('13', 18)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 1402} 10022025 20385772 Nombre de photos uploadées : 127 / 23040 (0%) 10022025 20385772 Nombre de photos taguées (types de déchets): 1402 / 127 (1103%) 10022025 20385772 Nombre de photos taguées (volume) : 1402 / 127 (1103%) elapsed_time : load_data_split_time_score 4.5299530029296875e-06 elapsed_time : order_list_meta_photo_and_scores 0.0005295276641845703 ??????????? elapsed_time : fill_and_build_computed_from_old_data 0.007123708724975586 elapsed_time : insert_dashboard_record_day_entry 0.02316451072692871 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 elapsed_time : list_photo_by_hashtags 0.00898289680480957 ***** BEGIN SPLIT TIME ***** True 1739145600.0 `1739184354.010149 1739184300.0 `1739184364.01015 1739184360.0 `1739184374.009134 1739184360.0 `1739184384.010137 1739184360.0 `1739184404.010136 1739184360.0 `1739184424.010153 1739184420.0 `1739184434.010137 1739184420.0 `1739184445.010137 1739184420.0 `1739184484.010163 1739184480.0 `1739184494.010136 1739184480.0 `1739184524.009142 1739184480.0 `1739184534.010142 1739184480.0 `1739184544.01015 1739184540.0 `1739184564.010142 1739184540.0 `1739184574.010156 1739184540.0 `1739184584.009166 1739184540.0 `1739184594.010137 1739184540.0 `1739184604.010155 1739184600.0 `1739184614.010152 1739184600.0 `1739184634.01015 1739184600.0 `1739184644.010144 1739184600.0 `1739184654.009128 1739184600.0 `1739184664.010158 1739184660.0 `1739184684.010143 1739184660.0 `1739184694.01015 1739184660.0 `1739184734.010153 1739184720.0 `1739184744.010138 1739184720.0 `1739184754.010138 1739184720.0 `1739184764.010143 1739184720.0 `1739184774.010142 1739184720.0 `1739184784.010156 1739184780.0 `1739184794.009128 1739184780.0 `1739184804.010143 1739184780.0 `1739184814.010137 1739184780.0 `1739184824.010139 1739184780.0 `1739184834.010144 1739184780.0 `1739184844.010175 1739184840.0 `1739184855.010159 1739184840.0 `1739184874.010148 1739184840.0 `1739184884.010143 1739184840.0 `1739184894.010136 1739184840.0 `1739184904.010162 1739184900.0 `1739184934.009123 1739184900.0 `1739184944.010134 1739184900.0 `1739184964.010137 1739184960.0 `1739184974.010138 1739184960.0 `1739184984.010136 1739184960.0 `1739184994.010144 1739184960.0 `1739185014.010137 1739184960.0 `1739185024.01014 1739185020.0 `1739185034.01014 1739185020.0 `1739185044.010147 1739185020.0 `1739185054.010138 1739185020.0 `1739185074.009126 1739185020.0 `1739185094.010146 1739185080.0 `1739185104.01014 1739185080.0 `1739185124.010143 1739185080.0 `1739185134.010146 1739185080.0 `1739185214.010167 1739185200.0 `1739185224.010135 1739185200.0 `1739185234.010145 1739185200.0 `1739185245.010144 1739185200.0 `1739185255.010139 1739185200.0 `1739185265.010151 1739185260.0 `1739185274.009126 1739185260.0 `1739185284.010136 1739185260.0 `1739185294.010138 1739185260.0 `1739185304.010141 1739185260.0 `1739185315.01014 1739185260.0 `1739185325.010149 1739185320.0 `1739185335.010138 1739185320.0 `1739185345.010136 1739185320.0 `1739185354.009126 1739185320.0 `1739185385.010154 1739185380.0 `1739185395.010135 1739185380.0 `1739185434.010138 1739185380.0 `1739185444.010141 1739185440.0 `1739185455.010137 1739185440.0 `1739185465.010137 1739185440.0 `1739185475.010145 1739185440.0 `1739185485.010142 1739185440.0 `1739185494.009129 1739185440.0 `1739185504.010155 1739185500.0 `1739185514.010144 1739185500.0 `1739185525.010137 1739185500.0 `1739185535.010137 1739185500.0 `1739185555.01014 1739185500.0 `1739185564.009144 1739185560.0 `1739185574.010141 1739185560.0 `1739185584.010136 1739185560.0 `1739185595.010135 1739185560.0 `1739185634.009124 1739185620.0 `1739185644.010137 1739185620.0 `1739185654.010151 1739185620.0 `1739185665.010149 1739185620.0 `1739185685.010155 1739185680.0 `1739185704.009125 1739185680.0 `1739185714.010157 1739185680.0 `1739185735.010136 1739185680.0 `1739185745.01014 1739185740.0 `1739185755.010138 1739185740.0 `1739185765.010136 1739185740.0 `1739185774.009135 1739185740.0 `1739185784.010162 1739185740.0 `1739185815.010134 1739185800.0 `1739185825.010134 1739185800.0 `1739185835.010135 1739185800.0 `1739185844.009131 1739185800.0 `1739187435.010139 1739187420.0 `1739189004.010148 1739188980.0 `1739189554.010145 1739189520.0 `1739190104.010143 1739190060.0 `1739190654.010161 1739190600.0 `1739190973.010143 1739190960.0 `1739190983.010141 1739190960.0 `1739191173.01014 1739191140.0 `1739191183.010148 1739191140.0 `1739191214.010139 1739191200.0 `1739191223.009136 1739191200.0 `1739191243.010146 1739191200.0 `1739191253.010145 1739191200.0 `1739191284.010145 1739191260.0 `1739191433.009131 1739191380.0 `1739191463.010139 1739191440.0 `1739191474.010144 1739191440.0 `1739191484.010142 1739191440.0 `1739191494.01014 1739191440.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]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.01006174087524414 ***** END SPLIT TIME ***** NUMBER BATCH : 36 list_ponderation used : [1e-05, 1e-05, 1e-05, 1e-05, 1e-05] , list_hashtag_class_create_as_list : ['jrm'] Missing time_diff : 2107751014 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751016 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 1, 1: 2, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 39.99998593330383, 'nb_balles_papier': 4e-05, 'begin_time_port': 'image_10022025_11_46_04_010150m0.jpg 2e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 4e-05 We reject this portfolio because of the condition_save_data : 2025-02-10 11:46:04.010150 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 0, 1: 3, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 20.9999840259552, 'nb_balles_papier': 3.0000000000000004e-05, 'begin_time_port': 'image_10022025_11_47_04_010153m0.jpg 6e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 3.0000000000000004e-05 We reject this portfolio because of the condition_save_data : 2025-02-10 11:47:04.010153 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 0, 1: 4, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 49.99997901916504, 'nb_balles_papier': 4e-05, 'begin_time_port': 'image_10022025_11_48_04_010163m0.jpg 9e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 4e-05 We reject this portfolio because of the condition_save_data : 2025-02-10 11:48:04.010163 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751014 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751014 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751016 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 2, 1: 2, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 49.99998712539673, 'nb_balles_papier': 5e-05, 'begin_time_port': 'image_10022025_11_49_04_010150m0.jpg 0.00013000000000000002 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 5e-05 We reject this portfolio because of the condition_save_data : 2025-02-10 11:49:04.010150 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 0, 1: 5, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 49.99897313117981, 'nb_balles_papier': 5e-05, 'begin_time_port': 'image_10022025_11_50_04_010155m0.jpg 0.00018 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 5e-05 We reject this portfolio because of the condition_save_data : 2025-02-10 11:50:04.010155 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751016 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 0, 1: 2, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 29.99999189376831, 'nb_balles_papier': 3.0000000000000004e-05, 'begin_time_port': 'image_10022025_11_51_04_010158m0.jpg 0.00023 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 3.0000000000000004e-05 We reject this portfolio because of the condition_save_data : 2025-02-10 11:51:04.010158 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 0, 1: 5, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 39.99998903274536, 'nb_balles_papier': 5e-05, 'begin_time_port': 'image_10022025_11_52_14_010153m0.jpg 0.00026000000000000003 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 5e-05 We reject this portfolio because of the condition_save_data : 2025-02-10 11:52:14.010153 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 0, 1: 6, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 49.999988079071045, 'nb_balles_papier': 6e-05, 'begin_time_port': 'image_10022025_11_53_04_010156m0.jpg 0.00031000000000000016 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 6e-05 We reject this portfolio because of the condition_save_data : 2025-02-10 11:53:04.010156 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 0, 1: 5, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 49.99996089935303, 'nb_balles_papier': 5e-05, 'begin_time_port': 'image_10022025_11_54_04_010175m0.jpg 0.0003700000000000003 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 5e-05 We reject this portfolio because of the condition_save_data : 2025-02-10 11:54:04.010175 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 0, 1: 3, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 39.999971866607666, 'nb_balles_papier': 3.0000000000000004e-05, 'begin_time_port': 'image_10022025_11_55_04_010162m0.jpg 0.00042000000000000045 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 3.0000000000000004e-05 We reject this portfolio because of the condition_save_data : 2025-02-10 11:55:04.010162 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751016 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 0, 1: 4, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 50.0, 'nb_balles_papier': 5e-05, 'begin_time_port': 'image_10022025_11_56_04_010137m0.jpg 0.00045000000000000053 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 5e-05 We reject this portfolio because of the condition_save_data : 2025-02-10 11:56:04.010137 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751014 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 1, 1: 4, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 49.99898600578308, 'nb_balles_papier': 5e-05, 'begin_time_port': 'image_10022025_11_57_04_010140m0.jpg 0.0005000000000000007 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 5e-05 We reject this portfolio because of the condition_save_data : 2025-02-10 11:57:04.010140 Missing time_diff : 2107751014 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 1, 1: 3, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 40.0, 'nb_balles_papier': 4e-05, 'begin_time_port': 'image_10022025_11_58_14_010146m0.jpg 0.0005500000000000008 for time 1, id_amount 1 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 4e-05 We reject this portfolio because of the condition_save_data : 2025-02-10 11:58:14.010146 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751016 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751016 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 0, 1: 3, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 40.999972105026245, 'nb_balles_papier': 5e-05, 'begin_time_port': 'image_10022025_12_00_14_010167m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 5e-05 We reject this portfolio because of the condition_save_data : 2025-02-10 12:00:14.010167 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 0, 1: 6, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 49.99998903274536, 'nb_balles_papier': 6e-05, 'begin_time_port': 'image_10022025_12_01_05_010151m0.jpg 6e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 6e-05 We reject this portfolio because of the condition_save_data : 2025-02-10 12:01:05.010151 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 0, 1: 4, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 28.998976945877075, 'nb_balles_papier': 4e-05, 'begin_time_port': 'image_10022025_12_02_05_010149m0.jpg 0.00012 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 4e-05 We reject this portfolio because of the condition_save_data : 2025-02-10 12:02:05.010149 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 0, 1: 3, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 48.9999840259552, 'nb_balles_papier': 3.0000000000000004e-05, 'begin_time_port': 'image_10022025_12_03_05_010154m0.jpg 0.00016 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 3.0000000000000004e-05 We reject this portfolio because of the condition_save_data : 2025-02-10 12:03:05.010154 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 0, 1: 6, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 49.99898815155029, 'nb_balles_papier': 6e-05, 'begin_time_port': 'image_10022025_12_04_04_010141m0.jpg 0.00019 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 6e-05 We reject this portfolio because of the condition_save_data : 2025-02-10 12:04:04.010141 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 0, 1: 5, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 50.99998497962952, 'nb_balles_papier': 5e-05, 'begin_time_port': 'image_10022025_12_05_04_010155m0.jpg 0.00025 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 5e-05 We reject this portfolio because of the condition_save_data : 2025-02-10 12:05:04.010155 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 0, 1: 4, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 31.000990867614746, 'nb_balles_papier': 4e-05, 'begin_time_port': 'image_10022025_12_06_04_009144m0.jpg 0.00030000000000000014 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 4e-05 We reject this portfolio because of the condition_save_data : 2025-02-10 12:06:04.009144 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 0, 1: 4, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 31.001024961471558, 'nb_balles_papier': 4e-05, 'begin_time_port': 'image_10022025_12_07_14_009124m0.jpg 0.00034000000000000024 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 4e-05 We reject this portfolio because of the condition_save_data : 2025-02-10 12:07:14.009124 Missing time_diff : 2107751014 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751016 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 1, 1: 2, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 49.99998092651367, 'nb_balles_papier': 4e-05, 'begin_time_port': 'image_10022025_12_08_05_010155m0.jpg 0.00038000000000000035 for time 1, id_amount 1 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 4e-05 We reject this portfolio because of the condition_save_data : 2025-02-10 12:08:05.010155 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751014 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 1, 1: 4, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 39.000022172927856, 'nb_balles_papier': 5e-05, 'begin_time_port': 'image_10022025_12_09_05_010140m0.jpg 0.00042000000000000045 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 5e-05 We reject this portfolio because of the condition_save_data : 2025-02-10 12:09:05.010140 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751014 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751014 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 2, 1: 2, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 28.99899697303772, 'nb_balles_papier': 4e-05, 'begin_time_port': 'image_10022025_12_10_15_010134m0.jpg 0.0004700000000000006 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 4e-05 We reject this portfolio because of the condition_save_data : 2025-02-10 12:10:15.010134 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 0, 1: 2, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 0, 'nb_balles_papier': 2e-05, 'begin_time_port': 'image'} Production hashtag (incorrect ponderation at 20-10-18) : 2e-05 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 0, 1: 2, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 0, 'nb_balles_papier': 2e-05, 'begin_time_port': 'image'} Production hashtag (incorrect ponderation at 20-10-18) : 2e-05 Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! Missing time_diff : 2107751015 : jrm should be duplicate or empty carpet ! result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 0, 1: 4, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 39.00000596046448, 'nb_balles_papier': 4e-05, 'begin_time_port': 'image_10022025_13_40_14_010139m0.jpg 5e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 4e-05 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '10022025', 'map_nb_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 31.000000953674316, 'nb_balles_papier': 0, 'begin_time_port': 'image_10022025_13_44_23_10139.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0 We have rejected 8 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 4 Still a lot to verify ! Still a lot to verify ! Still a lot to verify ! Still a lot to verify ! list_same_port_ids : [] https://marlene.fotonower.com/api/v1/secured/portfolio/new?name=JRM_diff_batch__10022025_13_44_23_010139&access_token=3e00c8f3e5af383c48e3c68940ba6fe7 error result not float, to be checked, testing the next We don't need to reset the datou_current for this portfolio, que ce soit dans le cas ou il est fini (et found_correct devrait etre vrai, ou dans le cas ou il n'est pas fini, mais du coup on le retrouvera et mettra simplement à jour) # 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) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13611 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 13613 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 13613 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 13614 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 13614 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 13615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 13615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 13621 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 13621 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 13617 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 13617 ventilate_hashtags_in_portfolio have less outputs used (0) than in the step definition (1) : some outputs may be not used ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 13611 doesn't seem to be define in the database( WARNING : type of input 2 of step 13613 doesn't seem to be define in the database( WARNING : output 1 of step 13611 have datatype=2 whereas input 1 of step 13614 have datatype=7 WARNING : type of output 2 of step 13614 doesn't seem to be define in the database( WARNING : type of input 1 of step 13615 doesn't seem to be define in the database( WARNING : type of output 3 of step 13614 doesn't seem to be define in the database( WARNING : type of input 1 of step 13617 doesn't seem to be define in the database( WARNING : type of input 2 of step 13621 doesn't seem to be define in the database( WARNING : output 1 of step 13615 have datatype=7 whereas input 2 of step 13621 have datatype=None WARNING : type of output 3 of step 13621 doesn't seem to be define in the database( WARNING : type of input 2 of step 13617 doesn't seem to be define in the database( WARNING : output 0 of step 13614 have datatype=1 whereas input 0 of step 13615 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20403594 AND mptpi.`type`=3726 To do error result not float, to be checked, testing the next We don't need to reset the datou_current for this portfolio, que ce soit dans le cas ou il est fini (et found_correct devrait etre vrai, ou dans le cas ou il n'est pas fini, mais du coup on le retrouvera et mettra simplement à jour) # 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) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13611 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 13613 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 13613 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 13614 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 13614 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 13615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 13615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 13621 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 13621 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 13617 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 13617 ventilate_hashtags_in_portfolio have less outputs used (0) than in the step definition (1) : some outputs may be not used ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 13611 doesn't seem to be define in the database( WARNING : type of input 2 of step 13613 doesn't seem to be define in the database( WARNING : output 1 of step 13611 have datatype=2 whereas input 1 of step 13614 have datatype=7 WARNING : type of output 2 of step 13614 doesn't seem to be define in the database( WARNING : type of input 1 of step 13615 doesn't seem to be define in the database( WARNING : type of output 3 of step 13614 doesn't seem to be define in the database( WARNING : type of input 1 of step 13617 doesn't seem to be define in the database( WARNING : type of input 2 of step 13621 doesn't seem to be define in the database( WARNING : output 1 of step 13615 have datatype=7 whereas input 2 of step 13621 have datatype=None WARNING : type of output 3 of step 13621 doesn't seem to be define in the database( WARNING : type of input 2 of step 13617 doesn't seem to be define in the database( WARNING : output 0 of step 13614 have datatype=1 whereas input 0 of step 13615 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20403637 AND mptpi.`type`=3726 To do error result not float, to be checked, testing the next We don't need to reset the datou_current for this portfolio, que ce soit dans le cas ou il est fini (et found_correct devrait etre vrai, ou dans le cas ou il n'est pas fini, mais du coup on le retrouvera et mettra simplement à jour) # 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) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13611 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 13613 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 13613 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 13614 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 13614 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 13615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 13615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 13621 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 13621 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 13617 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 13617 ventilate_hashtags_in_portfolio have less outputs used (0) than in the step definition (1) : some outputs may be not used ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 13611 doesn't seem to be define in the database( WARNING : type of input 2 of step 13613 doesn't seem to be define in the database( WARNING : output 1 of step 13611 have datatype=2 whereas input 1 of step 13614 have datatype=7 WARNING : type of output 2 of step 13614 doesn't seem to be define in the database( WARNING : type of input 1 of step 13615 doesn't seem to be define in the database( WARNING : type of output 3 of step 13614 doesn't seem to be define in the database( WARNING : type of input 1 of step 13617 doesn't seem to be define in the database( WARNING : type of input 2 of step 13621 doesn't seem to be define in the database( WARNING : output 1 of step 13615 have datatype=7 whereas input 2 of step 13621 have datatype=None WARNING : type of output 3 of step 13621 doesn't seem to be define in the database( WARNING : type of input 2 of step 13617 doesn't seem to be define in the database( WARNING : output 0 of step 13614 have datatype=1 whereas input 0 of step 13615 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20403639 AND mptpi.`type`=3726 To do There was a bug due to new port without datou_current_id # 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) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13611 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 13613 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 13613 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 13614 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 13614 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 13615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 13615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 13621 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 13621 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 13617 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 13617 ventilate_hashtags_in_portfolio have less outputs used (0) than in the step definition (1) : some outputs may be not used ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! WARNING : type of output 2 of step 13611 doesn't seem to be define in the database( WARNING : type of input 2 of step 13613 doesn't seem to be define in the database( WARNING : output 1 of step 13611 have datatype=2 whereas input 1 of step 13614 have datatype=7 WARNING : type of output 2 of step 13614 doesn't seem to be define in the database( WARNING : type of input 1 of step 13615 doesn't seem to be define in the database( WARNING : type of output 3 of step 13614 doesn't seem to be define in the database( WARNING : type of input 1 of step 13617 doesn't seem to be define in the database( WARNING : type of input 2 of step 13621 doesn't seem to be define in the database( WARNING : output 1 of step 13615 have datatype=7 whereas input 2 of step 13621 have datatype=None WARNING : type of output 3 of step 13621 doesn't seem to be define in the database( WARNING : type of input 2 of step 13617 doesn't seem to be define in the database( WARNING : output 0 of step 13614 have datatype=1 whereas input 0 of step 13615 have datatype=2 DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20403716 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 5.640229940414429 # DISPLAY ALL COLLECTED DATA : {'10022025': {'nb_upload': 127, 'nb_taggue_class': 1402, 'nb_taggue_densite': 1402}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1336491883, 1336491848, 1336491843, 1336491823, 1336491734, 1336490409, 1336490303, 1336490266, 1336490264, 1336490261, 1336490259, 1336490214, 1336490211, 1336490008, 1336490006, 1336489216, 1336487537, 1336486643, 1336484772, 1336478009, 1336471568, 1336471562, 1336471557, 1336471556, 1336471530, 1336471527, 1336471525, 1336471520, 1336471518, 1336471471, 1336471468, 1336471465, 1336471462, 1336471422, 1336471420, 1336471418, 1336471415, 1336471230, 1336471228, 1336471227, 1336471226, 1336471191, 1336471183, 1336471181, 1336471179, 1336471178, 1336471129, 1336471127, 1336471124, 1336471122, 1336471120, 1336471119, 1336470946, 1336470891, 1336470888, 1336470857, 1336470855, 1336470852, 1336470849, 1336470525, 1336470448, 1336470437, 1336470435, 1336470433, 1336470207, 1336469435, 1336469433, 1336469431, 1336469429, 1336469427, 1336469059, 1336468973, 1336468898, 1336468893, 1336468316, 1336468312, 1336468309, 1336468307, 1336468301, 1336468063, 1336467976, 1336467890, 1336467798, 1336467709, 1336467284, 1336467282, 1336467274, 1336467249, 1336467248, 1336467246, 1336467238, 1336467237, 1336467180, 1336467178, 1336467175, 1336467173, 1336467171, 1336467170, 1336467127, 1336467124] Looping around the photos to save general results len do output : 1 /20385772Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336491883', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336491848', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336491843', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336491823', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336491734', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336490409', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336490303', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336490266', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336490264', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336490261', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336490259', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336490214', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336490211', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336490008', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336490006', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336489216', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336487537', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336486643', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336484772', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336478009', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336471568', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336471562', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336471557', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336471556', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336471530', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336471527', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336471525', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336471520', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336471518', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336471471', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336471468', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336471465', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336471462', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336471422', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336471420', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336471418', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336471415', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336471230', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336471228', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336471227', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336471226', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336471191', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336471183', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336471181', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336471179', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336471178', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336471129', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336471127', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336471124', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336471122', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336471120', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336471119', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336470946', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336470891', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336470888', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336470857', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336470855', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336470852', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336470849', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336470525', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336470448', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336470437', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336470435', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336470433', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336470207', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336469435', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336469433', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336469431', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336469429', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336469427', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336469059', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336468973', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336468898', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336468893', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336468316', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336468312', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336468309', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336468307', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336468301', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336468063', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336467976', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336467890', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336467798', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336467709', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336467284', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336467282', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336467274', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336467249', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336467248', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336467246', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336467238', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336467237', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336467180', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336467178', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336467175', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336467173', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336467171', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336467170', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336467127', None, None, None, None, None, '2571283') ('4883', None, None, None, None, None, None, None, '2571283') ('4883', '20385772', '1336467124', None, None, None, None, None, '2571283') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.5195200443267822 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.256309270858765 time spend to save output : 0.5201592445373535 total time spend for step 1 : 6.776468515396118 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 1 set_done_treatment 1.24user 0.55system 0:11.67elapsed 15%CPU (0avgtext+0avgdata 102332maxresident)k 0inputs+144outputs (1major+49342minor)pagefaults 0swaps