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 : 3385624 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 : 2758>100 please execute split_portfolio.py -i 23145313 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2900260'] with mtr_portfolio_ids : ['23145313'] and first list_photo_ids : [] new path : /proc/3385624/ 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 : 2.2670273780822754 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 Tue May 20 18:17: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/1747757846_3385624_1359838094_b6b6a4f015730895f90e5b62f0f985da.jpg resize: (1080, 1632) 1359838094 -5.138148712321412 treat image : temp/1747757846_3385624_1359838093_e92d951876eb9fb7be7c8ef1cdc10a17.jpg resize: (1080, 1632) 1359838093 -3.843854152771308 treat image : temp/1747757846_3385624_1359838091_2442cc50861bc60e65735f566e5eb641.jpg resize: (1080, 1632) 1359838091 -5.5815657615971634 treat image : temp/1747757846_3385624_1359838089_c4cfcc0a47013da005ea67171d5f87b3.jpg resize: (1080, 1632) 1359838089 -4.9094786066438605 treat image : temp/1747757846_3385624_1359837749_a2fc1861fc0e164aaeeb006047278bd8.jpg resize: (1080, 1632) 1359837749 -2.010550814381614 treat image : temp/1747757846_3385624_1359837719_d30c29956b877034ac6608d4990f0a38.jpg resize: (1080, 1632) 1359837719 -1.387129168028072 treat image : temp/1747757846_3385624_1359837690_2aca110200c7657ae41b4992447f25da.jpg resize: (1080, 1632) 1359837690 -2.744406063752108 treat image : temp/1747757846_3385624_1359837658_7ff64e2b8a3fe577f527d38148a712f0.jpg resize: (1080, 1632) 1359837658 -5.116803403896708 treat image : temp/1747757846_3385624_1359837379_a7e4acff1f940cac5141e3d18e2f31d6.jpg resize: (1080, 1632) 1359837379 -5.678154588021823 treat image : temp/1747757846_3385624_1359837348_465ca363c1bdadc00a1ae09c721b50f2.jpg resize: (1080, 1632) 1359837348 -3.8766207030502393 treat image : temp/1747757846_3385624_1359837319_7eec8b8344ba6a412cb7a3e195d89954.jpg resize: (1080, 1632) 1359837319 -4.828895913212406 treat image : temp/1747757846_3385624_1359837290_5b5bb40711b4ec76405c9d13648a211e.jpg resize: (1080, 1632) 1359837290 -5.380589609332593 treat image : temp/1747757846_3385624_1359837258_c2f395153e05c2473f058fe88e7703d9.jpg resize: (1080, 1632) 1359837258 -5.7424983372067935 treat image : temp/1747757846_3385624_1359837032_59db309b10aa98b269bf410260e93a8e.jpg resize: (1080, 1632) 1359837032 -5.664738682478557 treat image : temp/1747757846_3385624_1359837029_e1d6ca982932339f24d423adb66959a9.jpg resize: (1080, 1632) 1359837029 -5.501929321181938 treat image : temp/1747757846_3385624_1359837017_c3da27dc8625f5a632ac0aedc39e119b.jpg resize: (1080, 1632) 1359837017 -6.100822930420594 treat image : temp/1747757846_3385624_1359837007_d4b5a0c7422cf0611a289fa36d7294d3.jpg resize: (1080, 1632) 1359837007 -5.524661563165457 treat image : temp/1747757846_3385624_1359836928_af70baeb120bfa826e95aa4bad92fe7e.jpg resize: (1080, 1632) 1359836928 -5.801079864375849 treat image : temp/1747757846_3385624_1359836923_40f91059c9c2d09aff6dafb1df769ec5.jpg resize: (1080, 1632) 1359836923 -0.9080438745215212 treat image : temp/1747757846_3385624_1359836919_e112e56bd4c5a7ef3d018101fee147f3.jpg resize: (1080, 1632) 1359836919 -2.505313966632653 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.013700485229492188 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.012045860290527344 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014333009719848633 save missing photos in datou_result : time spend for datou_step_exec : 17.878547430038452 time spend to save output : 0.044760942459106445 total time spend for step 1 : 17.92330837249756 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.85user 5.49system 0:21.85elapsed 93%CPU (0avgtext+0avgdata 136908maxresident)k 288inputs+9328outputs (15major+255770minor)pagefaults 0swaps