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 : 404792 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 : 1985>100 please execute split_portfolio.py -i 23101416 -l 100 size over we load limit photo not treated 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/404792/ 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.447096586227417 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 Sep 17 04:22: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/1758075749_404792_1359399667_8233852b0cd3a82f9a0843ca62e62365.jpg resize: (1080, 1632) 1359399667 -2.6877588697454624 treat image : temp/1758075749_404792_1359399650_dc1f1a2497faa8dbad4f6257dd89d565.jpg resize: (1080, 1632) 1359399650 -1.7221997633692354 treat image : temp/1758075749_404792_1359399643_e2658e8a66e91a66631dbb877424eb05.jpg resize: (1080, 1632) 1359399643 -4.370260277327519 treat image : temp/1758075749_404792_1359399221_60c97fe8dc7afe8fe48300b4b39da433.jpg resize: (1080, 1632) 1359399221 -4.886859124694267 treat image : temp/1758075749_404792_1359399175_c6ceeadf9f1858d71958052f7a4ef4b7.jpg resize: (1080, 1632) 1359399175 -5.974358327742965 treat image : temp/1758075749_404792_1359399113_1648b0ee4e963bf3de328561a681962b.jpg resize: (1080, 1632) 1359399113 -5.957777355876233 treat image : temp/1758075749_404792_1359399096_ae93ab31b658d3f443ed101c1ccfd9b2.jpg resize: (1080, 1632) 1359399096 -3.0755370669222373 treat image : temp/1758075749_404792_1359399090_ab7a4d96d11c3bbf643d7f0c2788e58c.jpg resize: (1080, 1632) 1359399090 -0.9082935565697301 treat image : temp/1758075749_404792_1359398439_db12d692047ba46bf7939def76843551.jpg resize: (1080, 1632) 1359398439 -5.690240684491126 treat image : temp/1758075749_404792_1359398408_905d97e2c6b20d2e4b3d59765e7a6aea.jpg resize: (1080, 1632) 1359398408 -5.391787513754101 treat image : temp/1758075749_404792_1359398379_f860525c2ef66b3a02b1308b4f1e1298.jpg resize: (1080, 1632) 1359398379 -5.319906573682823 treat image : temp/1758075749_404792_1359398370_0388a8eca7fb09f450d4e75c6ec5f78e.jpg resize: (1080, 1632) 1359398370 -4.489688352129333 treat image : temp/1758075749_404792_1359398363_653f2354d9b185230c675fa4208921f2.jpg resize: (1080, 1632) 1359398363 -5.358831960321011 treat image : temp/1758075749_404792_1359397570_af2472520f31822fc086629f8acb433a.jpg resize: (1080, 1632) 1359397570 -5.909636533454359 treat image : temp/1758075749_404792_1359397513_c6674ffb82c5bec98f931437d31f9c99.jpg resize: (1080, 1632) 1359397513 -5.249093126387121 treat image : temp/1758075749_404792_1359397432_ba6dbd357713d85b2c427242bff5836b.jpg resize: (1080, 1632) 1359397432 -5.478929954278368 treat image : temp/1758075749_404792_1359396594_d585a69f0f56169f64adbc232e04af05.jpg resize: (1080, 1632) 1359396594 -4.509677497563067 treat image : temp/1758075749_404792_1359396485_a863fb42bf84c17013b9b1a764b4c125.jpg resize: (1080, 1632) 1359396485 -3.7954335661791996 treat image : temp/1758075749_404792_1359396410_68b2d54fda6edb67300b1cd83e5ac083.jpg resize: (1080, 1632) 1359396410 -6.047899933101235 treat image : temp/1758075749_404792_1359396339_cb089af595fd1afa1a1fe06301941e69.jpg resize: (1080, 1632) 1359396339 -6.615699026471433 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.016371965408325195 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.2588989734649658 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.05295062065124512 save missing photos in datou_result : time spend for datou_step_exec : 16.427529335021973 time spend to save output : 0.44078946113586426 total time spend for step 1 : 16.868318796157837 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.04user 4.07system 0:23.95elapsed 79%CPU (0avgtext+0avgdata 136864maxresident)k 1056inputs+9840outputs (1major+258935minor)pagefaults 0swaps