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 : 1386476 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 updating current state to 1 we have a portfolio with more photos than limit : 2638>100 please execute split_portfolio.py -i 26511073 -l 100 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4871, datou_cur_ids : ['3661506'] with mtr_portfolio_ids : ['26511073'] and first list_photo_ids : [] new path : /proc/1386476/ 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.2794811725616455 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 Thu Sep 4 17:47: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/1757000847_1386476_1381455926_1c15238f1401784dd1650c17554bd00b_26476426.jpg resize: (1080, 1632) 1381455926 -5.033131722249415 treat image : temp/1757000847_1386476_1381455925_b3cff6c10347854838132738c39606f4_57671740.jpg resize: (1080, 1632) 1381455925 -5.232993273648863 treat image : temp/1757000847_1386476_1381455923_4c821006c958c7e6beffd868cddc1f01_31253779.jpg resize: (1080, 1632) 1381455923 -4.377945514202813 treat image : temp/1757000847_1386476_1381455922_44dba7cf45886d5f82feeec847ec5d79_47319842.jpg resize: (1080, 1632) 1381455922 -3.4899507710490267 treat image : temp/1757000847_1386476_1381455921_511aa364a3e12163068cc74fbe45e4f7_62208312.jpg resize: (1080, 1632) 1381455921 -4.934921046575296 treat image : temp/1757000847_1386476_1381455920_55b9c71aa1d518b08e450f4988617fb1_52792885.jpg resize: (1080, 1632) 1381455920 -0.8132744943781969 treat image : temp/1757000847_1386476_1381455916_24be2a0cf0f05979167b371f59e428bf_38573244.jpg resize: (1080, 1632) 1381455916 -1.782780830000832 treat image : temp/1757000847_1386476_1381455915_dda66184672418f6b8e827df0c826b53_75281545.jpg resize: (1080, 1632) 1381455915 -2.5678945275792544 treat image : temp/1757000847_1386476_1381455914_354f02db36e6213349b8fdd93296f94e_94665409.jpg resize: (1080, 1632) 1381455914 -2.7195775970653204 treat image : temp/1757000847_1386476_1381455913_6c86ba947ec013995e3a53c8b89f2360_45909529.jpg resize: (1080, 1632) 1381455913 -4.386282410851696 treat image : temp/1757000847_1386476_1381455912_ed814fdafc5c6a90327b7486d0c52a7b_58099149.jpg resize: (1080, 1632) 1381455912 -4.840998478869141 treat image : temp/1757000847_1386476_1381455911_aefcd4441db978e4dd67a138afa14642_93429458.jpg resize: (1080, 1632) 1381455911 -5.044466938748325 treat image : temp/1757000847_1386476_1381455891_809613b05f6c41474c7132a6841a0464_90735380.jpg resize: (1080, 1632) 1381455891 -5.397483146958043 treat image : temp/1757000847_1386476_1381455890_c6542074a2fe5f6e709992e72cc75c53_28767772.jpg resize: (1080, 1632) 1381455890 -5.466273187836913 treat image : temp/1757000847_1386476_1381455889_0f7fc4d760127e289195e485d47519e4_88007196.jpg resize: (1080, 1632) 1381455889 -4.534090513644331 treat image : temp/1757000847_1386476_1381455888_c37894dd0bc73b48f0962dcec2af8dca_69440014.jpg resize: (1080, 1632) 1381455888 -4.515519465448467 treat image : temp/1757000847_1386476_1381455887_844160b991086576c1bd844731cb9a4a_96404439.jpg resize: (1080, 1632) 1381455887 -5.142062181127243 treat image : temp/1757000847_1386476_1381455886_c110f362abf3a10c3ba60420b5fd02bc_56861831.jpg resize: (1080, 1632) 1381455886 -5.31050933749602 treat image : temp/1757000847_1386476_1381455883_79186839b43c16f9ac41140ffd5fb54f_76869462.jpg resize: (1080, 1632) 1381455883 -5.139273994080494 treat image : temp/1757000847_1386476_1381455882_8c1d486f295a4737cbd1af274c3d9820_59011775.jpg resize: (1080, 1632) 1381455882 -6.003288873822773 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.03661370277404785 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.03626441955566406 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.04002833366394043 save missing photos in datou_result : time spend for datou_step_exec : 17.16072130203247 time spend to save output : 0.13060688972473145 total time spend for step 1 : 17.291328191757202 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.47user 5.26system 0:21.65elapsed 91%CPU (0avgtext+0avgdata 140480maxresident)k 112inputs+9120outputs (1major+262421minor)pagefaults 0swaps