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 : 2206111 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 : 4436>100 please execute split_portfolio.py -i 24449702 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3218216'] with mtr_portfolio_ids : ['24449702'] and first list_photo_ids : [] new path : /proc/2206111/ 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.3678932189941406 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 Jul 3 01:27: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/1751498848_2206111_1370206812_3198d047a48db45b220e2c4f0c278125.jpg resize: (1080, 1632) 1370206812 -3.5273525469962212 treat image : temp/1751498848_2206111_1370206805_0787230b4e07c1cb16b722e4a7ae5fcf.jpg resize: (1080, 1632) 1370206805 -5.330974796037699 treat image : temp/1751498848_2206111_1370206789_1b8c3513ac81de8c6a65cc398753532e.jpg resize: (1080, 1632) 1370206789 -5.246911746735053 treat image : temp/1751498848_2206111_1370206777_3434c05612696c267d52a7be0b369851.jpg resize: (1080, 1632) 1370206777 -5.8530520019772565 treat image : temp/1751498848_2206111_1370206771_bf74cb481d1e1d7c7ed86d233b6552b6.jpg resize: (1080, 1632) 1370206771 -5.84542207416823 treat image : temp/1751498848_2206111_1370206757_49e54a5f57e1a59e2a228bc859657642.jpg resize: (1080, 1632) 1370206757 -5.478412596234035 treat image : temp/1751498848_2206111_1370206098_7d33c2a2c9e18fe2b0221159ba6fdc4a.jpg resize: (1080, 1632) 1370206098 -5.4862898941984435 treat image : temp/1751498848_2206111_1370206089_ef77439517d262112fadef0ebd6ae563.jpg resize: (1080, 1632) 1370206089 -5.504086774558431 treat image : temp/1751498848_2206111_1370206053_6c862c981b0098c418ec24858f79262e.jpg resize: (1080, 1632) 1370206053 -4.866057713989653 treat image : temp/1751498848_2206111_1370206018_69af6cfcd4e730ea861dfbe6858bd0e3.jpg resize: (1080, 1632) 1370206018 -4.843355123029513 treat image : temp/1751498848_2206111_1370205985_e8ce0071b6e605234acc210d16584e3d.jpg resize: (1080, 1632) 1370205985 -5.017882493304158 treat image : temp/1751498848_2206111_1370205974_efc2c5a7e090c312eb67c6d34d01c1fe.jpg resize: (1080, 1632) 1370205974 -3.1336827266686487 treat image : temp/1751498848_2206111_1370204822_25ef2eb43e861702dcc60c5304b2c14f.jpg resize: (1080, 1632) 1370204822 -5.632451456322605 treat image : temp/1751498848_2206111_1370204786_72c5378b0bbdf2ef4aa09797b869b999.jpg resize: (1080, 1632) 1370204786 -5.303346713119915 treat image : temp/1751498848_2206111_1370204754_7df05fbadb79a4da46b27feeaa013971.jpg resize: (1080, 1632) 1370204754 -5.259398588095884 treat image : temp/1751498848_2206111_1370204725_d22980053df7720a2199c5f69f600d11.jpg resize: (1080, 1632) 1370204725 -5.546129787047518 treat image : temp/1751498848_2206111_1370204722_2ec1cac9bce3823838f9d60a166fdc65.jpg resize: (1080, 1632) 1370204722 -5.586369021693656 treat image : temp/1751498848_2206111_1370204721_a642917f8faa2d288e36901d7be7cb8c.jpg resize: (1080, 1632) 1370204721 -5.254237771327111 treat image : temp/1751498848_2206111_1370193757_4c2c2d3406e5194d8210f8e49c6994fc.jpg resize: (1080, 1632) 1370193757 -5.003733198937187 treat image : temp/1751498848_2206111_1370193673_f499caf41f6aaea3e79779cddd670c24.jpg resize: (1080, 1632) 1370193673 -4.989249789733647 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.015607833862304688 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.015171289443969727 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.019948720932006836 save missing photos in datou_result : time spend for datou_step_exec : 17.579617500305176 time spend to save output : 0.16250824928283691 total time spend for step 1 : 17.742125749588013 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.84user 5.53system 0:22.72elapsed 89%CPU (0avgtext+0avgdata 138344maxresident)k 9664inputs+10120outputs (78major+259686minor)pagefaults 0swaps