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 : 423932 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/423932/ 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.5332753658294678 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:32:31 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/1758076347_423932_1359392812_47d0bf7e7a2cb13f26c614ea618210f1.jpg resize: (1080, 1632) 1359392812 -5.572933762151576 treat image : temp/1758076347_423932_1359392790_8567ccca291a93a821f6a9d7f3be338c.jpg resize: (1080, 1632) 1359392790 -5.664281964923723 treat image : temp/1758076347_423932_1359392786_b17fefbea45d968ac968d167ee86157b.jpg resize: (1080, 1632) 1359392786 -5.502537582357686 treat image : temp/1758076347_423932_1359392782_d3e8938d945e3a098ca83a56f3792762.jpg resize: (1080, 1632) 1359392782 -5.9377645726066195 treat image : temp/1758076347_423932_1359392666_7bb93179f7cbae4d884a22d332367942.jpg resize: (1080, 1632) 1359392666 -5.322614519772831 treat image : temp/1758076347_423932_1359392661_84cb79a722b2bd94bb6030a34388a284.jpg resize: (1080, 1632) 1359392661 -5.499075578116791 treat image : temp/1758076347_423932_1359392657_b115c57ac7445394635c5de1f574b728.jpg resize: (1080, 1632) 1359392657 -6.245078588784482 treat image : temp/1758076347_423932_1359392653_96f77e884182a0774d37ca9c01c53a7a.jpg resize: (1080, 1632) 1359392653 -6.271420391630763 treat image : temp/1758076347_423932_1359392649_7b2b8eff5c5066c61e834869a76b3498.jpg resize: (1080, 1632) 1359392649 -4.38289958137108 treat image : temp/1758076347_423932_1359392570_deaa5cda199bf2aa346326201a25f35e.jpg resize: (1080, 1632) 1359392570 -1.1584958724632162 treat image : temp/1758076347_423932_1359392513_b63e9c62e4551c3f78eeb6aa19e67610.jpg resize: (1080, 1632) 1359392513 -2.389904511835987 treat image : temp/1758076347_423932_1359392155_de51871d401bbe230f78e9985e75652c.jpg resize: (1080, 1632) 1359392155 -4.742686183276073 treat image : temp/1758076347_423932_1359392140_a2dcd07eb29f660bfa2d7fe39b2816fd.jpg resize: (1080, 1632) 1359392140 -6.063174854368241 treat image : temp/1758076347_423932_1359392135_646e28e48d0b552be0eb23b74ab516b2.jpg resize: (1080, 1632) 1359392135 -6.064209191406567 treat image : temp/1758076347_423932_1359392130_954455471f6edc68f5ff67363d31ad52.jpg resize: (1080, 1632) 1359392130 -5.903272160859515 treat image : temp/1758076347_423932_1359392125_b20dd6b9237cc87580ec023e53826914.jpg resize: (1080, 1632) 1359392125 -3.151539338975045 treat image : temp/1758076347_423932_1359392033_518d5d717fb7ede0cdab4171265f95a1.jpg resize: (1080, 1632) 1359392033 -5.814493169979459 treat image : temp/1758076347_423932_1359391998_f90bc141c18d31bb13db97ee49222c3c.jpg resize: (1080, 1632) 1359391998 -5.994598787879384 treat image : temp/1758076347_423932_1359391938_759b710aea4701d364f7932cc687c52a.jpg resize: (1080, 1632) 1359391938 -6.011133422342561 treat image : temp/1758076347_423932_1359391891_54f41c135727302c3b9c3734e871c8ea.jpg resize: (1080, 1632) 1359391891 -6.158608940133809 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.014636993408203125 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.13083171844482422 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.06296896934509277 save missing photos in datou_result : time spend for datou_step_exec : 14.741694927215576 time spend to save output : 0.21297001838684082 total time spend for step 1 : 14.954664945602417 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.00user 3.13system 0:21.01elapsed 81%CPU (0avgtext+0avgdata 138352maxresident)k 160inputs+10816outputs (13major+258246minor)pagefaults 0swaps