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 : 715115 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 : 3126>100 please execute split_portfolio.py -i 21605229 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2681618'] with mtr_portfolio_ids : ['21605229'] and first list_photo_ids : [] new path : /proc/715115/ 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.027090311050415 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 Sat Mar 22 11:22:30 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/1742638948_715115_1346393401_9701cc9feac4659272439e3062762773.jpg resize: (1080, 1632) 1346393401 -3.114702822662509 treat image : temp/1742638948_715115_1346393388_71ca59dd114be276615087a0e2ae6a3e.jpg resize: (1080, 1632) 1346393388 -5.4562617583600925 treat image : temp/1742638948_715115_1346393387_18533c0505ca7d0fd179fee8e79792d5.jpg resize: (1080, 1632) 1346393387 -4.688353008983626 treat image : temp/1742638948_715115_1346393384_27bb038087c5cbead71cc54e2392b5b5.jpg resize: (1080, 1632) 1346393384 -6.011466609261963 treat image : temp/1742638948_715115_1346393375_8be1e4a2b7470f68b993286298440e9b.jpg resize: (1080, 1632) 1346393375 -5.913053703813606 treat image : temp/1742638948_715115_1346393373_7e74b6f210de43f199557cb5f15a617b.jpg resize: (1080, 1632) 1346393373 -5.9282112038220145 treat image : temp/1742638948_715115_1346393361_fd5ed6307d7084ef9ff178ac0fd8b4be.jpg resize: (1080, 1632) 1346393361 -6.307246115009722 treat image : temp/1742638948_715115_1346393355_9bd7677a3b5ceda0fb153173f7dbacb6.jpg resize: (1080, 1632) 1346393355 -6.001749904001511 treat image : temp/1742638948_715115_1346393351_5846c81bb891dfc0479c030da345d5fb.jpg resize: (1080, 1632) 1346393351 -4.6690946384613055 treat image : temp/1742638948_715115_1346393334_02c8b9140186cd9a4a92d61fe2851dd5.jpg resize: (1080, 1632) 1346393334 -6.013033122793532 treat image : temp/1742638948_715115_1346393328_e3f421b752260ce735494a2800fa987a.jpg resize: (1080, 1632) 1346393328 -4.7616143362976615 treat image : temp/1742638948_715115_1346393325_303493c0c0f43074943a1f81950589c5.jpg resize: (1080, 1632) 1346393325 -5.741044643836417 treat image : temp/1742638948_715115_1346393077_0e2ed764320bc43b9a9f994259d574de.jpg resize: (1080, 1632) 1346393077 -4.3827953879516235 treat image : temp/1742638948_715115_1346393074_0c8919a50cfb75d0db63312923d93724.jpg resize: (1080, 1632) 1346393074 -5.335246594901044 treat image : temp/1742638948_715115_1346393071_1159b6facd7ddc817890e4e799e15053.jpg resize: (1080, 1632) 1346393071 -5.238803743524963 treat image : temp/1742638948_715115_1346393068_a16beb7b373e73977b891900c009a744.jpg resize: (1080, 1632) 1346393068 -5.310166721636739 treat image : temp/1742638948_715115_1346393027_7d4ce13104cc5490115776823db7ae5f.jpg resize: (1080, 1632) 1346393027 -4.133526136538392 treat image : temp/1742638948_715115_1346393005_c59f95abe4370c25471e063664ca2462.jpg resize: (1080, 1632) 1346393005 -5.570471751547127 treat image : temp/1742638948_715115_1346392980_e6a488af279889b3d89c4878ea5bb51e.jpg resize: (1080, 1632) 1346392980 -4.974336313538334 treat image : temp/1742638948_715115_1346392976_1fe6002e3971327539e546b4677d939f.jpg resize: (1080, 1632) 1346392976 -0.653947206068719 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.01318669319152832 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.012906312942504883 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015900850296020508 save missing photos in datou_result : time spend for datou_step_exec : 14.447765588760376 time spend to save output : 0.047249794006347656 total time spend for step 1 : 14.495015382766724 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.20user 2.94system 0:18.53elapsed 92%CPU (0avgtext+0avgdata 139508maxresident)k 8inputs+10568outputs (5major+255443minor)pagefaults 0swaps