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 : 2086184 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/2086184/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 20 ; length of list_pids : 20 ; length of list_args : 20 time to download the photos : 3.2085864543914795 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 Jul 18 01:42: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 inside step blur_detection methode: ratio et variance treat image : temp/1752795746_2086184_1372329954_d5fc055af1fa6887df4e866c12124947.jpg resize: (1080, 1632) 1372329954 -5.486917349398972 treat image : temp/1752795746_2086184_1372329952_50b7b59b0c18d3edf25a521c930146b8.jpg resize: (1080, 1632) 1372329952 -5.486360639851724 treat image : temp/1752795746_2086184_1372329950_ffde5ae5614773254ea7b494e2b12a06.jpg resize: (1080, 1632) 1372329950 -5.490889844113856 treat image : temp/1752795746_2086184_1372329932_fff9d2e789e8e8cc1fa8d27886a086e4.jpg resize: (1080, 1632) 1372329932 -3.0750745732923903 treat image : temp/1752795746_2086184_1372329929_60a1433baea461484ce26f85da177745.jpg resize: (1080, 1632) 1372329929 -5.091002443897537 treat image : temp/1752795746_2086184_1372329926_110b55669691562d794b96985f025f63.jpg resize: (1080, 1632) 1372329926 -5.4576402633892025 treat image : temp/1752795746_2086184_1372329924_cee62335723135a62aad8e8d0ea169ec.jpg resize: (1080, 1632) 1372329924 -5.462295941479134 treat image : temp/1752795746_2086184_1372329922_671981fecf3fdba1c4e5a0df6d55bbc0.jpg resize: (1080, 1632) 1372329922 -5.470329753815131 treat image : temp/1752795746_2086184_1372329919_a65d0d75f6bef6ab1ceb90e542276935.jpg resize: (1080, 1632) 1372329919 -5.473336436861515 treat image : temp/1752795746_2086184_1372329897_c8290c9cf29ee151a97ec6f80db4f922.jpg resize: (1080, 1632) 1372329897 -3.488044487316625 treat image : temp/1752795746_2086184_1372329894_4213e9f2491e5281d469eb46d15cafb2.jpg resize: (1080, 1632) 1372329894 -2.154302569347192 treat image : temp/1752795746_2086184_1372329891_7e70ba963e1b45a4d26246f2464fdd0d.jpg resize: (1080, 1632) 1372329891 -1.680336370431605 treat image : temp/1752795746_2086184_1372329888_f7dcf581390b825735d49b57691b7849.jpg resize: (1080, 1632) 1372329888 -2.8893236618263565 treat image : temp/1752795746_2086184_1372329886_55c5e98745253c8fa64680300bad3b41.jpg resize: (1080, 1632) 1372329886 -1.9173789150179912 treat image : temp/1752795746_2086184_1372329884_2c91c9c2d5c3440f99ffd57e46419a28.jpg resize: (1080, 1632) 1372329884 -1.9212164345762852 treat image : temp/1752795746_2086184_1372329870_227c4d446bf99b681c922c2c6bf537fe.jpg resize: (1080, 1632) 1372329870 -5.256844502512246 treat image : temp/1752795746_2086184_1372329867_efb12ba1e6c61e224a9fa040f0b75f69.jpg resize: (1080, 1632) 1372329867 -5.084706207623782 treat image : temp/1752795746_2086184_1372329865_0fbb2e4303ee64afce76d4b6755eb5c8.jpg resize: (1080, 1632) 1372329865 -4.3419932443746445 treat image : temp/1752795746_2086184_1372329862_39f310f2044c8f388daecddd71926fd8.jpg resize: (1080, 1632) 1372329862 -4.36133624239337 treat image : temp/1752795746_2086184_1372329860_76d61576d58a41921bb98f061ea35fd1.jpg resize: (1080, 1632) 1372329860 -2.4745595645245446 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 : 20 time used for this insertion : 0.013536453247070312 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 20 time used for this insertion : 0.013907194137573242 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.021965980529785156 save missing photos in datou_result : time spend for datou_step_exec : 15.14205527305603 time spend to save output : 0.05409431457519531 total time spend for step 1 : 15.196149587631226 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.07user 3.76system 0:20.53elapsed 86%CPU (0avgtext+0avgdata 137396maxresident)k 592inputs+8856outputs (28major+237983minor)pagefaults 0swaps