python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4189' -s datou_current_4189 -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 : 2028633 load datou : 4189 # 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 : 4189, datou_cur_ids : ['2599671'] with mtr_portfolio_ids : ['20675557'] and first list_photo_ids : [] new path : /proc/2028633/ 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.03654909133911133 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Thu Feb 20 14:30:29 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'}] (('10', 359), ('14', 161)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 364} 20022025 20675557 Nombre de photos uploadées : 520 / 23040 (2%) 20022025 20675557 Nombre de photos taguées (types de déchets): 364 / 520 (70%) 20022025 20675557 Nombre de photos taguées (volume) : 364 / 520 (70%) elapsed_time : load_data_split_time_score 7.152557373046875e-06 elapsed_time : order_list_meta_photo_and_scores 0.00020122528076171875 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.021976232528686523 elapsed_time : insert_dashboard_record_day_entry 0.022635698318481445 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL Creating list_photo_by_hashtags Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None elapsed_time : list_photo_by_hashtags 0.0438084602355957 Creating list_photo_total elapsed_time : select_descriptors 18.0942542552948 20022025 20675557 Nombre de photos avec descriptors (type 5680) : 334 / 490 (68%) ERROR : Hum hum, what can we do for different size of descriptors (ignore the difference ) : 0 vs 1280 photo_id : 1338578193 photo_id_prec : 0 0:00:00|ON:LLLL0:03:00.676319|OFF:L0:00:00|ON:Missing descriptors for photos 1338578377 and 1338578400 LLLL0:00:59.962840|OFF:L0:00:00|ON:LL0:00:59.821631|OFF:L0:00:00|ON:Missing descriptors for photos 1338578461 and 1338578465 LLMissing descriptors for photos 1338578475 and 1338578495 LLMissing descriptors for photos 1338578505 and 1338578509 LLMissing descriptors for photos 1338578518 and 1338578538 LLMissing descriptors for photos 1338578550 and 1338578555 LMissing descriptors for photos 1338578555 and 1338578560 LMissing descriptors for photos 1338578560 and 1338578563 LLL0:02:59.504016|OFF:L0:00:00|ON:Missing descriptors for photos 1338578594 and 1338578598 LLMissing descriptors for photos 1338578608 and 1338578685 LLMissing descriptors for photos 1338578697 and 1338578704 LMissing descriptors for photos 1338578704 and 1338578708 LMissing descriptors for photos 1338578708 and 1338578715 LMissing descriptors for photos 1338578715 and 1338578732 LMissing descriptors for photos 1338578732 and 1338578737 LMissing descriptors for photos 1338578737 and 1338578744 LMissing descriptors for photos 1338578744 and 1338578750 LLL0:27:00.758487|OFF:LLLLLL0:00:59.677452|ON:LL0:00:59.779814|OFF:LLLLLLLL0:00:59.783845|ON:LL0:00:00|OFF:LL0:01:00.718501|ON:LL0:09:59.951880|OFF:LLLLLLLL0:00:59.737642|ON:LL0:02:00.346771|OFF:0:00:00|ON:ERROR : Hum hum, what can we do for different size of descriptors (ignore the difference ) : 1280 vs 0 photo_id : 1338595715 photo_id_prec : 1338595705 LMissing descriptors for photos 1338595715 and 1338595719 LMissing descriptors for photos 1338595719 and 1338595722 LMissing descriptors for photos 1338595722 and 1338595728 LMissing descriptors for photos 1338595728 and 1338595816 LMissing descriptors for photos 1338595816 and 1338595891 LMissing descriptors for photos 1338595891 and 1338596346 LMissing descriptors for photos 1338596346 and 1338596349 LMissing descriptors for photos 1338596349 and 1338596355 LMissing descriptors for photos 1338596355 and 1338596358 LMissing descriptors for photos 1338596358 and 1338596362 LMissing descriptors for photos 1338596362 and 1338596364 LMissing descriptors for photos 1338596364 and 1338596984 LMissing descriptors for photos 1338596984 and 1338596987 LMissing descriptors for photos 1338596987 and 1338596991 LMissing descriptors for photos 1338596991 and 1338596993 LMissing descriptors for photos 1338596993 and 1338596996 LMissing descriptors for photos 1338596996 and 1338597001 LMissing descriptors for photos 1338597001 and 1338597200 LMissing descriptors for photos 1338597200 and 1338597239 LMissing descriptors for photos 1338597239 and 1338597290 LMissing descriptors for photos 1338597290 and 1338597329 LMissing descriptors for photos 1338597329 and 1338597358 LMissing descriptors for photos 1338597358 and 1338597476 LMissing descriptors for photos 1338597476 and 1338598017 LMissing descriptors for photos 1338598017 and 1338598022 LMissing descriptors for photos 1338598022 and 1338598026 LMissing descriptors for photos 1338598026 and 1338598030 LMissing descriptors for photos 1338598030 and 1338598033 LMissing descriptors for photos 1338598033 and 1338598088 LMissing descriptors for photos 1338598088 and 1338598317 LMissing descriptors for photos 1338598317 and 1338598322 LMissing descriptors for photos 1338598322 and 1338598325 LMissing descriptors for photos 1338598325 and 1338598330 LMissing descriptors for photos 1338598330 and 1338598332 LMissing descriptors for photos 1338598332 and 1338598335 LMissing descriptors for photos 1338598335 and 1338598575 LMissing descriptors for photos 1338598575 and 1338598579 LMissing descriptors for photos 1338598579 and 1338598582 LMissing descriptors for photos 1338598582 and 1338598586 LMissing descriptors for photos 1338598586 and 1338598589 LMissing descriptors for photos 1338598589 and 1338598593 LMissing descriptors for photos 1338598593 and 1338598609 LMissing descriptors for photos 1338598609 and 1338598612 LMissing descriptors for photos 1338598612 and 1338598616 LMissing descriptors for photos 1338598616 and 1338598620 LMissing descriptors for photos 1338598620 and 1338598623 LMissing descriptors for photos 1338598623 and 1338598625 LMissing descriptors for photos 1338598625 and 1338598650 LMissing descriptors for photos 1338598650 and 1338598654 LMissing descriptors for photos 1338598654 and 1338598657 LMissing descriptors for photos 1338598657 and 1338598661 LMissing descriptors for photos 1338598661 and 1338598667 LMissing descriptors for photos 1338598667 and 1338598671 LMissing descriptors for photos 1338598671 and 1338598681 LMissing descriptors for photos 1338598681 and 1338598684 LMissing descriptors for photos 1338598684 and 1338598689 LMissing descriptors for photos 1338598689 and 1338598692 LMissing descriptors for photos 1338598692 and 1338598696 LMissing descriptors for photos 1338598696 and 1338598701 LMissing descriptors for photos 1338598701 and 1338598712 LMissing descriptors for photos 1338598712 and 1338598716 LMissing descriptors for photos 1338598716 and 1338598720 LMissing descriptors for photos 1338598720 and 1338598726 LMissing descriptors for photos 1338598726 and 1338598730 LMissing descriptors for photos 1338598730 and 1338598733 LMissing descriptors for photos 1338598733 and 1338598960 LMissing descriptors for photos 1338598960 and 1338598963 LMissing descriptors for photos 1338598963 and 1338598967 LMissing descriptors for photos 1338598967 and 1338598970 LMissing descriptors for photos 1338598970 and 1338598975 LMissing descriptors for photos 1338598975 and 1338598980 LMissing descriptors for photos 1338598980 and 1338599023 LMissing descriptors for photos 1338599023 and 1338599044 LMissing descriptors for photos 1338599044 and 1338599051 LMissing descriptors for photos 1338599051 and 1338599057 LMissing descriptors for photos 1338599057 and 1338599061 LMissing descriptors for photos 1338599061 and 1338599063 LMissing descriptors for photos 1338599063 and 1338599074 LMissing descriptors for photos 1338599074 and 1338599078 LMissing descriptors for photos 1338599078 and 1338599081 LMissing descriptors for photos 1338599081 and 1338599085 LMissing descriptors for photos 1338599085 and 1338599088 LMissing descriptors for photos 1338599088 and 1338599091 LMissing descriptors for photos 1338599091 and 1338599098 LMissing descriptors for photos 1338599098 and 1338599102 LMissing descriptors for photos 1338599102 and 1338599428 LMissing descriptors for photos 1338599428 and 1338599436 LMissing descriptors for photos 1338599436 and 1338599440 LMissing descriptors for photos 1338599440 and 1338599445 LMissing descriptors for photos 1338599445 and 1338599630 LMissing descriptors for photos 1338599630 and 1338599633 LMissing descriptors for photos 1338599633 and 1338599637 LMissing descriptors for photos 1338599637 and 1338599688 LMissing descriptors for photos 1338599688 and 1338599696 LMissing descriptors for photos 1338599696 and 1338599700 LMissing descriptors for photos 1338599700 and 1338599775 LMissing descriptors for photos 1338599775 and 1338599784 LMissing descriptors for photos 1338599784 and 1338599800 LMissing descriptors for photos 1338599800 and 1338599806 LMissing descriptors for photos 1338599806 and 1338599861 LMissing descriptors for photos 1338599861 and 1338599864 LMissing descriptors for photos 1338599864 and 1338599908 LMissing descriptors for photos 1338599908 and 1338599911 LMissing descriptors for photos 1338599911 and 1338599915 LMissing descriptors for photos 1338599915 and 1338599921 LMissing descriptors for photos 1338599921 and 1338599926 LMissing descriptors for photos 1338599926 and 1338599934 LMissing descriptors for photos 1338599934 and 1338599959 LMissing descriptors for photos 1338599959 and 1338599964 LMissing descriptors for photos 1338599964 and 1338599969 LMissing descriptors for photos 1338599969 and 1338599970 LMissing descriptors for photos 1338599970 and 1338599973 LMissing descriptors for photos 1338599973 and 1338599976 LMissing descriptors for photos 1338599976 and 1338599987 LMissing descriptors for photos 1338599987 and 1338599992 LMissing descriptors for photos 1338599992 and 1338599996 LMissing descriptors for photos 1338599996 and 1338600000 LMissing descriptors for photos 1338600000 and 1338600002 LMissing descriptors for photos 1338600002 and 1338600003 LMissing descriptors for photos 1338600003 and 1338600022 LMissing descriptors for photos 1338600022 and 1338600028 LMissing descriptors for photos 1338600028 and 1338600031 LMissing descriptors for photos 1338600031 and 1338600034 LMissing descriptors for photos 1338600034 and 1338600038 LMissing descriptors for photos 1338600038 and 1338600042 LMissing descriptors for photos 1338600042 and 1338600054 LMissing descriptors for photos 1338600054 and 1338600059 LMissing descriptors for photos 1338600059 and 1338600065 LMissing descriptors for photos 1338600065 and 1338600069 LMissing descriptors for photos 1338600069 and 1338600075 LMissing descriptors for photos 1338600075 and 1338600078 LMissing descriptors for photos 1338600078 and 1338600110 LMissing descriptors for photos 1338600110 and 1338600114 LMissing descriptors for photos 1338600114 and 1338600117 LMissing descriptors for photos 1338600117 and 1338600121 LMissing descriptors for photos 1338600121 and 1338600180 LMissing descriptors for photos 1338600180 and 1338600186 LMissing descriptors for photos 1338600186 and 1338600194 LMissing descriptors for photos 1338600194 and 1338600198 LMissing descriptors for photos 1338600198 and 1338600201 LMissing descriptors for photos 1338600201 and 1338600204 LMissing descriptors for photos 1338600204 and 1338600208 LMissing descriptors for photos 1338600208 and 1338600211 LMissing descriptors for photos 1338600211 and 1338600232 LMissing descriptors for photos 1338600232 and 1338600235 LMissing descriptors for photos 1338600235 and 1338600239 LMissing descriptors for photos 1338600239 and 1338600243 LMissing descriptors for photos 1338600243 and 1338600246 LMissing descriptors for photos 1338600246 and 1338600249 LMissing descriptors for photos 1338600249 and 1338600340 LMissing descriptors for photos 1338600340 and 1338600377 LMissing descriptors for photos 1338600377 and 1338600392 LMissing descriptors for photos 1338600392 and 1338600402 LMissing descriptors for photos 1338600402 and 1338600407 LMissing descriptors for photos 1338600407 and 1338600433 L 20022025 Removing 21 photos because of the 'same image' condition Total on : 2880.801758 list_time_on Total off : 239.91744 list_time_off dist_desc begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 520 time used for this insertion : 2.8725438117980957 photos_removed : len 21 elapsed_time : remove_photo_duplicate 2.9282286167144775 To do, maybe not at the correct place ! ...................L..L..L.L.L..L..L.L..L.L.L..L.L..L.L..L.L..L.L.L.L..L.L.L..L.L..L.L.L.L.L.L.L.L........................................................................................................................................................L.L.L.L......L.L.L.L.L....L.L..................................................................L.L.L.L.L.............L................................................L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.Lforce hashtag to JRM elapsed_time : CREATE_PORT_BATCH_BY_HOUR 0.10915017127990723 NUMBER BATCH : 6 list_ponderation used : [1e-05, 1e-05, 1e-05, 1e-05, 1e-05] , list_hashtag_class_create_as_list : ['jrm'] result_one_balle_Type_JRM:{'day': '20022025', 'map_nb_amount': {0: 1, 1: 48, 2: 0, 3: 1, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 839.7785248756409, 'nb_balles_papier': 0.0005600000000000008, 'begin_time_port': 'image_20022025_10_00_02_403515m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0005600000000000008 result_one_balle_Type_JRM:{'day': '20022025', 'map_nb_amount': {0: 9, 1: 79, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 839.9106111526489, 'nb_balles_papier': 0.0009000000000000017, 'begin_time_port': 'image_20022025_10_15_02_940600m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0009000000000000017 result_one_balle_Type_JRM:{'day': '20022025', 'map_nb_amount': {0: 6, 1: 72, 2: 0, 3: 1, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 839.97669506073, 'nb_balles_papier': 0.0007900000000000014, 'begin_time_port': 'image_20022025_10_30_02_476019m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0007900000000000014 result_one_balle_Type_JRM:{'day': '20022025', 'map_nb_amount': {0: 12, 1: 66, 2: 1, 3: 3, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 839.9965178966522, 'nb_balles_papier': 0.0008300000000000015, 'begin_time_port': 'image_20022025_10_45_03_072715m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0008300000000000015 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info Lresult_one_balle_Type_JRM:{'day': '20022025', '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': 839.870628118515, 'nb_balles_papier': 5e-05, 'begin_time_port': 'image_20022025_14_00_02_904655m0.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 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLWe filter photos on hashtag condition ! We have rejected 0 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 5 list_same_port_ids : [20675992] find same portfolio which already exist 20675992 , we will use it list_same_port_ids : [20675993] find same portfolio which already exist 20675993 , we will use it list_same_port_ids : [20676500] find same portfolio which already exist 20676500 , we will use it list_same_port_ids : [20676948] find same portfolio which already exist 20676948 , we will use it list_same_port_ids : [20676949] find same portfolio which already exist 20676949 , we will use it # 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 ! 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 12489 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 12499 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12500 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 12492 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 12492 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! WARNING : number of outputs for step 12493 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 12502 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 12502 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 12495 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 12495 final have less outputs used (1) than in the step definition (2) : 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 12489 doesn't seem to be define in the database( WARNING : type of input 2 of step 12492 doesn't seem to be define in the database( WARNING : output 1 of step 12489 have datatype=2 whereas input 1 of step 12493 have datatype=7 WARNING : type of output 2 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12494 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12496 doesn't seem to be define in the database( WARNING : type of input 3 of step 12495 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12500 doesn't seem to be define in the database( WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12499 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 12496 have datatype=10 whereas input 3 of step 12498 have datatype=6 WARNING : type of input 5 of step 12498 doesn't seem to be define in the database( WARNING : output 0 of step 12501 have datatype=11 whereas input 5 of step 12498 have datatype=None WARNING : output 0 of step 12496 have datatype=10 whereas input 0 of step 12501 have datatype=18 WARNING : type of input 2 of step 12502 doesn't seem to be define in the database( WARNING : output 1 of step 12494 have datatype=7 whereas input 2 of step 12502 have datatype=None WARNING : type of output 3 of step 12502 doesn't seem to be define in the database( WARNING : type of input 2 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12499 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : type of output 1 of step 12500 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : output 0 of step 12493 have datatype=1 whereas input 0 of step 12494 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`=20675992 AND mptpi.`type`=3726 To do Qualite : 0.10853251114048669 # 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 ! 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 12489 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 12499 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12500 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 12492 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 12492 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! WARNING : number of outputs for step 12493 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 12502 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 12502 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 12495 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 12495 final have less outputs used (1) than in the step definition (2) : 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 12489 doesn't seem to be define in the database( WARNING : type of input 2 of step 12492 doesn't seem to be define in the database( WARNING : output 1 of step 12489 have datatype=2 whereas input 1 of step 12493 have datatype=7 WARNING : type of output 2 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12494 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12496 doesn't seem to be define in the database( WARNING : type of input 3 of step 12495 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12500 doesn't seem to be define in the database( WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12499 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 12496 have datatype=10 whereas input 3 of step 12498 have datatype=6 WARNING : type of input 5 of step 12498 doesn't seem to be define in the database( WARNING : output 0 of step 12501 have datatype=11 whereas input 5 of step 12498 have datatype=None WARNING : output 0 of step 12496 have datatype=10 whereas input 0 of step 12501 have datatype=18 WARNING : type of input 2 of step 12502 doesn't seem to be define in the database( WARNING : output 1 of step 12494 have datatype=7 whereas input 2 of step 12502 have datatype=None WARNING : type of output 3 of step 12502 doesn't seem to be define in the database( WARNING : type of input 2 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12499 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : type of output 1 of step 12500 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : output 0 of step 12493 have datatype=1 whereas input 0 of step 12494 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`=20675993 AND mptpi.`type`=3726 To do Qualite : 0.10672129373090128 # 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 ! 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 12489 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 12499 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12500 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 12492 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 12492 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! WARNING : number of outputs for step 12493 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 12502 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 12502 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 12495 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 12495 final have less outputs used (1) than in the step definition (2) : 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 12489 doesn't seem to be define in the database( WARNING : type of input 2 of step 12492 doesn't seem to be define in the database( WARNING : output 1 of step 12489 have datatype=2 whereas input 1 of step 12493 have datatype=7 WARNING : type of output 2 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12494 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12496 doesn't seem to be define in the database( WARNING : type of input 3 of step 12495 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12500 doesn't seem to be define in the database( WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12499 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 12496 have datatype=10 whereas input 3 of step 12498 have datatype=6 WARNING : type of input 5 of step 12498 doesn't seem to be define in the database( WARNING : output 0 of step 12501 have datatype=11 whereas input 5 of step 12498 have datatype=None WARNING : output 0 of step 12496 have datatype=10 whereas input 0 of step 12501 have datatype=18 WARNING : type of input 2 of step 12502 doesn't seem to be define in the database( WARNING : output 1 of step 12494 have datatype=7 whereas input 2 of step 12502 have datatype=None WARNING : type of output 3 of step 12502 doesn't seem to be define in the database( WARNING : type of input 2 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12499 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : type of output 1 of step 12500 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : output 0 of step 12493 have datatype=1 whereas input 0 of step 12494 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`=20676500 AND mptpi.`type`=3726 To do # 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 ! 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 12489 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 12499 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12500 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 12492 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 12492 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! WARNING : number of outputs for step 12493 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 12502 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 12502 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 12495 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 12495 final have less outputs used (1) than in the step definition (2) : 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 12489 doesn't seem to be define in the database( WARNING : type of input 2 of step 12492 doesn't seem to be define in the database( WARNING : output 1 of step 12489 have datatype=2 whereas input 1 of step 12493 have datatype=7 WARNING : type of output 2 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12494 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12496 doesn't seem to be define in the database( WARNING : type of input 3 of step 12495 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12500 doesn't seem to be define in the database( WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12499 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 12496 have datatype=10 whereas input 3 of step 12498 have datatype=6 WARNING : type of input 5 of step 12498 doesn't seem to be define in the database( WARNING : output 0 of step 12501 have datatype=11 whereas input 5 of step 12498 have datatype=None WARNING : output 0 of step 12496 have datatype=10 whereas input 0 of step 12501 have datatype=18 WARNING : type of input 2 of step 12502 doesn't seem to be define in the database( WARNING : output 1 of step 12494 have datatype=7 whereas input 2 of step 12502 have datatype=None WARNING : type of output 3 of step 12502 doesn't seem to be define in the database( WARNING : type of input 2 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12499 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : type of output 1 of step 12500 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : output 0 of step 12493 have datatype=1 whereas input 0 of step 12494 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`=20676948 AND mptpi.`type`=3726 To do # 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 ! 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 12489 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 12499 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12500 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 12492 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 12492 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! WARNING : number of outputs for step 12493 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 12502 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 12502 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 12495 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 12495 final have less outputs used (1) than in the step definition (2) : 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 12489 doesn't seem to be define in the database( WARNING : type of input 2 of step 12492 doesn't seem to be define in the database( WARNING : output 1 of step 12489 have datatype=2 whereas input 1 of step 12493 have datatype=7 WARNING : type of output 2 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12494 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12496 doesn't seem to be define in the database( WARNING : type of input 3 of step 12495 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12500 doesn't seem to be define in the database( WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12499 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 12496 have datatype=10 whereas input 3 of step 12498 have datatype=6 WARNING : type of input 5 of step 12498 doesn't seem to be define in the database( WARNING : output 0 of step 12501 have datatype=11 whereas input 5 of step 12498 have datatype=None WARNING : output 0 of step 12496 have datatype=10 whereas input 0 of step 12501 have datatype=18 WARNING : type of input 2 of step 12502 doesn't seem to be define in the database( WARNING : output 1 of step 12494 have datatype=7 whereas input 2 of step 12502 have datatype=None WARNING : type of output 3 of step 12502 doesn't seem to be define in the database( WARNING : type of input 2 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12499 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : type of output 1 of step 12500 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : output 0 of step 12493 have datatype=1 whereas input 0 of step 12494 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`=20676949 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 4.799844980239868 # DISPLAY ALL COLLECTED DATA : {'20022025': {'nb_upload': 520, 'nb_taggue_class': 364, 'nb_taggue_densite': 364, 'nb_descriptors': 334}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1338600433, 1338600407, 1338600402, 1338600392, 1338600377, 1338600340, 1338600249, 1338600246, 1338600243, 1338600239, 1338600235, 1338600232, 1338600211, 1338600208, 1338600204, 1338600201, 1338600198, 1338600194, 1338600186, 1338600180, 1338600121, 1338600117, 1338600114, 1338600110, 1338600078, 1338600075, 1338600069, 1338600065, 1338600059, 1338600054, 1338600042, 1338600038, 1338600034, 1338600031, 1338600028, 1338600022, 1338600003, 1338600002, 1338600000, 1338599996, 1338599992, 1338599987, 1338599976, 1338599973, 1338599970, 1338599969, 1338599964, 1338599959, 1338599934, 1338599926, 1338599921, 1338599915, 1338599911, 1338599908, 1338599864, 1338599861, 1338599806, 1338599800, 1338599784, 1338599775, 1338599700, 1338599696, 1338599688, 1338599637, 1338599633, 1338599630, 1338599445, 1338599440, 1338599436, 1338599428, 1338599102, 1338599098, 1338599091, 1338599088, 1338599085, 1338599081, 1338599078, 1338599074, 1338599063, 1338599061, 1338599057, 1338599051, 1338599044, 1338599023, 1338598980, 1338598975, 1338598970, 1338598967, 1338598963, 1338598960, 1338598733, 1338598730, 1338598726, 1338598720, 1338598716, 1338598712, 1338598701, 1338598696, 1338598692, 1338598689] Looping around the photos to save general results len do output : 1 /20675557Didn'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 ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600433', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600407', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600402', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600392', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600377', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600340', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600249', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600246', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600243', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600239', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600235', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600232', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600211', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600208', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600204', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600201', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600198', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600194', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600186', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600180', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600121', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600117', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600114', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600110', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600078', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600075', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600069', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600065', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600059', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600054', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600042', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600038', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600034', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600031', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600028', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600022', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600003', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600002', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338600000', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599996', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599992', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599987', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599976', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599973', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599970', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599969', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599964', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599959', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599934', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599926', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599921', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599915', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599911', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599908', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599864', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599861', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599806', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599800', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599784', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599775', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599700', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599696', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599688', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599637', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599633', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599630', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599445', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599440', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599436', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599428', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599102', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599098', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599091', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599088', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599085', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599081', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599078', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599074', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599063', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599061', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599057', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599051', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599044', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338599023', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338598980', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338598975', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338598970', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338598967', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338598963', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338598960', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338598733', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338598730', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338598726', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338598720', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338598716', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338598712', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338598701', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338598696', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338598692', None, None, None, None, None, '2599671') ('4189', None, None, None, None, None, None, None, '2599671') ('4189', '20675557', '1338598689', None, None, None, None, None, '2599671') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 1.2198190689086914 save_final save missing photos in datou_result : time spend for datou_step_exec : 26.170875549316406 time spend to save output : 1.2206659317016602 total time spend for step 1 : 27.391541481018066 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 2.38user 0.48system 0:30.67elapsed 9%CPU (0avgtext+0avgdata 104864maxresident)k 640inputs+2832outputs (2major+60233minor)pagefaults 0swaps