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 : 3126714 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 : 3069>100 please execute split_portfolio.py -i 21962613 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2714916'] with mtr_portfolio_ids : ['21962613'] and first list_photo_ids : [] new path : /proc/3126714/ 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.112825393676758 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 Wed Apr 2 19:52:32 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/1743616349_3126714_1349584385_dd257a26ce5588babf95d90c8869f737.jpg resize: (1080, 1632) 1349584385 -6.25334851191657 treat image : temp/1743616349_3126714_1349584381_0386dccd78b334385b91c279dd29baa0.jpg resize: (1080, 1632) 1349584381 -5.90081279925571 treat image : temp/1743616349_3126714_1349484206_83eff312ee891b29eccb38f5d28ecb36.jpg resize: (1080, 1632) 1349484206 -1.8354438466803913 treat image : temp/1743616349_3126714_1349484202_539565cafff47aad7e63152dc1c64a47.jpg resize: (1080, 1632) 1349484202 -1.9352236248901635 treat image : temp/1743616349_3126714_1349484197_b0a0f036431a7bc1b0fa9249d2bb5006.jpg resize: (1080, 1632) 1349484197 -5.347779186697052 treat image : temp/1743616349_3126714_1349484193_5f0a43bcff23e5fbcce957e10a7deadc.jpg resize: (1080, 1632) 1349484193 -2.88126088990135 treat image : temp/1743616349_3126714_1349484180_72e5e5ecdcaf4be8e89c19be986c0e23.jpg resize: (1080, 1632) 1349484180 -3.6756350674646208 treat image : temp/1743616349_3126714_1349484150_1a100d4f5fda9d234451c8ddc80f1912.jpg resize: (1080, 1632) 1349484150 -1.9489746703844921 treat image : temp/1743616349_3126714_1349484145_2705a47b4d57e831a280bac866ad3827.jpg resize: (1080, 1632) 1349484145 -2.2840946991453492 treat image : temp/1743616349_3126714_1349484142_f5baa2a40d4992a6963f293a3b9fea43.jpg resize: (1080, 1632) 1349484142 -2.3265537602555066 treat image : temp/1743616349_3126714_1349484138_f4b35e4a075b16ed5f2284f7b39fc3c7.jpg resize: (1080, 1632) 1349484138 -2.0448001210808076 treat image : temp/1743616349_3126714_1349484135_0ce069ab5b750fd6e7a2ec216e41f05b.jpg resize: (1080, 1632) 1349484135 -4.819889334023983 treat image : temp/1743616349_3126714_1349484131_efa0ed425c05d3fa107cb7e46e073281.jpg resize: (1080, 1632) 1349484131 -0.8576885941844349 treat image : temp/1743616349_3126714_1349484093_1bad1e781a12052bba7d55e2bd3cea90.jpg resize: (1080, 1632) 1349484093 -3.292187600280702 treat image : temp/1743616349_3126714_1349484088_6cc41bee18ef06a79fa8a474cdfda5f1.jpg resize: (1080, 1632) 1349484088 -3.0291523108524925 treat image : temp/1743616349_3126714_1349484083_8f0426130cebfeb8db3fc351f2cc628e.jpg resize: (1080, 1632) 1349484083 -2.7610048921352166 treat image : temp/1743616349_3126714_1349484078_e635caab456d8eb8222a583f94b197cc.jpg resize: (1080, 1632) 1349484078 -4.736221088427886 treat image : temp/1743616349_3126714_1349484072_d96ff81020ac88bae60ea75043be45fd.jpg resize: (1080, 1632) 1349484072 -1.4187745390950965 treat image : temp/1743616349_3126714_1349484029_0ddeb9cce242693ebd6d4296837883f9.jpg resize: (1080, 1632) 1349484029 -3.359130517129464 treat image : temp/1743616349_3126714_1349484027_a4f6e8d8a9f20abba9a5cc6e65435937.jpg resize: (1080, 1632) 1349484027 -5.552257889598753 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.015831947326660156 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.01386404037475586 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01808023452758789 save missing photos in datou_result : time spend for datou_step_exec : 15.84715223312378 time spend to save output : 0.05235719680786133 total time spend for step 1 : 15.89950942993164 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.63user 4.08system 0:22.78elapsed 82%CPU (0avgtext+0avgdata 137292maxresident)k 152inputs+7976outputs (1major+257470minor)pagefaults 0swaps