python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 8 -a ' -a 4871 -l 100 ' -s datou_current_4871 -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 : 3099528 load datou : 4871 # 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 : chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) 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 : 1376>100 please execute split_portfolio.py -i 20315060 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2560927'] with mtr_portfolio_ids : ['20315060'] and first list_photo_ids : [] new path : /proc/3099528/ 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 : blur_detection over limit max, limiting to limit_max 20 list_input_json : {} origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 19 ; length of list_pids : 19 ; length of list_args : 19 time to download the photos : 2.128325939178467 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:blur_detection Fri Feb 7 10:52:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec inside step blur_detection methode: ratio et variance treat image : temp/1738921949_3099528_1335477405_7cb50cab38c292e8647af5f38e28e0e5.jpg resize: (1080, 1632) 1335477405 -6.093112112318393 treat image : temp/1738921949_3099528_1335477401_a6a7e856fb17f2fa4942d5516f254330.jpg resize: (1080, 1632) 1335477401 -6.143565597850756 treat image : temp/1738921949_3099528_1335477397_567fbcba00d26b5f22f22128c785b0d8.jpg resize: (1080, 1632) 1335477397 -3.193663376261643 treat image : temp/1738921949_3099528_1335477394_582bc4db1f22d91e3adadab9daf2c5e3.jpg resize: (1080, 1632) 1335477394 -0.7151187627603505 treat image : temp/1738921949_3099528_1335477359_808e33413e4c5611532fac25495c88d1.jpg resize: (1080, 1632) 1335477359 -6.168934017763999 treat image : temp/1738921949_3099528_1335477355_258f309aef130a46a57c196121b34aa9.jpg resize: (1080, 1632) 1335477355 -3.188876279445734 treat image : temp/1738921949_3099528_1335477350_8dc930c1cccd4f87652fbb2593333c04.jpg resize: (1080, 1632) 1335477350 -6.385882454879369 treat image : temp/1738921949_3099528_1335477348_6c8088ba1b079a84f627dc4545305878.jpg resize: (1080, 1632) 1335477348 -6.343973551598929 treat image : temp/1738921949_3099528_1335477344_645b60302e729d867a1a90d31e255d65.jpg resize: (1080, 1632) 1335477344 -4.267002254611194 treat image : temp/1738921949_3099528_1335477342_b0fe9a6233ee14ac8a1abae9ec381043.jpg resize: (1080, 1632) 1335477342 -6.103099979832012 treat image : temp/1738921949_3099528_1335477286_57e73c00ad105eeff3861032c0354138.jpg resize: (1080, 1632) 1335477286 -2.39520558146722 treat image : temp/1738921949_3099528_1335477283_47d39bd123175d51efe0915af743cb6d.jpg resize: (1080, 1632) 1335477283 -4.387028960882591 treat image : temp/1738921949_3099528_1335477278_858ce5e8aa0a1a6b3ab5c29faed822b6.jpg resize: (1080, 1632) 1335477278 -3.980215356091575 treat image : temp/1738921949_3099528_1335477272_4ca6378ba2662cee274c5c1cece8a001.jpg resize: (1080, 1632) 1335477272 -5.715049032510423 treat image : temp/1738921949_3099528_1335477269_deff7048326d357ec36274af957d01e1.jpg resize: (1080, 1632) 1335477269 -4.430744311710106 treat image : temp/1738921949_3099528_1335477265_3088305363aa9b102a26f986600cfcf0.jpg resize: (1080, 1632) 1335477265 -6.440434024728956 treat image : temp/1738921949_3099528_1335477182_2907588aec93e76507addc73bcb36393.jpg resize: (1080, 1632) 1335477182 -5.868418557702505 treat image : temp/1738921949_3099528_1335477177_199f4754a5de3eb4daecc12e78de6fe9.jpg resize: (1080, 1632) 1335477177 -6.193379369479103 treat image : temp/1738921949_3099528_1335477155_8fb4d139b56630704378fc15532e3e87.jpg resize: (1080, 1632) 1335477155 -6.2885248577054735 Inside saveOutput : final : True verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 19 time used for this insertion : 0.014199972152709961 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 19 time used for this insertion : 0.017644643783569336 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.013842582702636719 save missing photos in datou_result : time spend for datou_step_exec : 19.068192958831787 time spend to save output : 0.09807395935058594 total time spend for step 1 : 19.166266918182373 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 19 set_done_treatment 14.32user 8.37system 0:25.60elapsed 88%CPU (0avgtext+0avgdata 120620maxresident)k 31024inputs+10312outputs (125major+252925minor)pagefaults 0swaps