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 : 169383 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 list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2889281'] with mtr_portfolio_ids : ['23101416'] and first list_photo_ids : [] new path : /proc/169383/ 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.3107919692993164 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 Mon May 19 05: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/1747624646_169383_1359276387_b118e8c2d13442d1686b04b4df61a897.jpg resize: (1080, 1632) 1359276387 -5.662460329386927 treat image : temp/1747624646_169383_1359276385_8ff327dfc10c82c9637172115fff5d25.jpg resize: (1080, 1632) 1359276385 -5.300263970500472 treat image : temp/1747624646_169383_1359276383_83737ef04ad62815f1e032b3ffa6404d.jpg resize: (1080, 1632) 1359276383 -5.493523938985539 treat image : temp/1747624646_169383_1359276381_89d8c25c620fb5c1578acb2653305b80.jpg resize: (1080, 1632) 1359276381 -3.939010678415789 treat image : temp/1747624646_169383_1359276363_b0de22d87cec52d7ac09af1b8abccb67.jpg resize: (1080, 1632) 1359276363 -5.434545672994698 treat image : temp/1747624646_169383_1359276362_4cdb9d9fd31513b8bdd29f5af065efae.jpg resize: (1080, 1632) 1359276362 -5.752841288875692 treat image : temp/1747624646_169383_1359276360_4e361713a503bdb3751f194cc65785b4.jpg resize: (1080, 1632) 1359276360 -5.786900387222518 treat image : temp/1747624646_169383_1359276358_87ccb626999c3d9d7f5d1b05f053d7f5.jpg resize: (1080, 1632) 1359276358 -5.875806352732614 treat image : temp/1747624646_169383_1359276333_8079e7836c70213cec2981408893e6ef.jpg resize: (1080, 1632) 1359276333 -2.0048620820768086 treat image : temp/1747624646_169383_1359276330_94f6d787e03fda7ad7d835c1f26ff6c1.jpg resize: (1080, 1632) 1359276330 -3.8860155496096236 treat image : temp/1747624646_169383_1359276327_16ce38d366461a66a4d16b0f424195d0.jpg resize: (1080, 1632) 1359276327 -4.277534921045997 treat image : temp/1747624646_169383_1359276305_fc9aaa4ec1d2a19d48a19a12caa053a8.jpg resize: (1080, 1632) 1359276305 -0.5151194330006384 treat image : temp/1747624646_169383_1359276286_e458b8361905f20522784f616a6e790f.jpg resize: (1080, 1632) 1359276286 -4.835674119116149 treat image : temp/1747624646_169383_1359276284_6d095fb6cc987329ccb062a1111af0ec.jpg resize: (1080, 1632) 1359276284 -4.871658592826097 treat image : temp/1747624646_169383_1359276281_18b5e0bd59ef2dbda067ecdeffa27370.jpg resize: (1080, 1632) 1359276281 -4.766313965059887 treat image : temp/1747624646_169383_1359276278_1a3c0d8e50d246577ffb3fc88cfc0ec4.jpg resize: (1080, 1632) 1359276278 -4.6728728216266795 treat image : temp/1747624646_169383_1359276275_117ac9266f3773477dcaba6906cf7708.jpg resize: (1080, 1632) 1359276275 -2.7707028494016765 treat image : temp/1747624646_169383_1359276262_8bdda6c9abf4195baa7a7f8928ab1d02.jpg resize: (1080, 1632) 1359276262 -5.5768374325300165 treat image : temp/1747624646_169383_1359276259_d51649b9a52c46a194494e3d107105f3.jpg resize: (1080, 1632) 1359276259 -3.3718228857837698 treat image : temp/1747624646_169383_1359276256_ecb79f23cf7dec38551a8b52fb460987.jpg resize: (1080, 1632) 1359276256 -6.190647935920545 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.01389312744140625 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.3857839107513428 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01824951171875 save missing photos in datou_result : time spend for datou_step_exec : 16.90218210220337 time spend to save output : 0.4224410057067871 total time spend for step 1 : 17.324623107910156 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.01user 4.35system 0:21.03elapsed 92%CPU (0avgtext+0avgdata 136876maxresident)k 704inputs+9400outputs (24major+258531minor)pagefaults 0swaps