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 : 2205725 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 : 1012>100 please execute split_portfolio.py -i 23235666 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2930256'] with mtr_portfolio_ids : ['23235666'] and first list_photo_ids : [] new path : /proc/2205725/ 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.2762551307678223 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 May 22 09:37:29 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/1747899447_2205725_1360464752_5d90db4367618844cc4b28f2c201938c.jpg resize: (1080, 1632) 1360464752 -2.1282633163656572 treat image : temp/1747899447_2205725_1360464723_042cdd4df1b5e042ebd6e2cecbccab99.jpg resize: (1080, 1632) 1360464723 -4.595566714173598 treat image : temp/1747899447_2205725_1360464694_a78796688fb21285c037a8b0cddddaa1.jpg resize: (1080, 1632) 1360464694 -4.666372108832416 treat image : temp/1747899447_2205725_1360464678_88564e6c4afb5a046d83b61f2202b4c2.jpg resize: (1080, 1632) 1360464678 -4.8832395245086175 treat image : temp/1747899447_2205725_1360464676_10e1461532aac91c13eb2d1463f59161.jpg resize: (1080, 1632) 1360464676 -5.524529921131759 treat image : temp/1747899447_2205725_1360464673_70647191f1bd309ff4a79dfcfc25cedc.jpg resize: (1080, 1632) 1360464673 -5.034804310324504 treat image : temp/1747899447_2205725_1360464516_a51745025655330b758a1679bcca5f26.jpg resize: (1080, 1632) 1360464516 -1.7612805101247502 treat image : temp/1747899447_2205725_1360464483_24aacdbb966845d91d0734b024729be4.jpg resize: (1080, 1632) 1360464483 -3.0751614341519637 treat image : temp/1747899447_2205725_1360464456_7199c5addef7a10c18fce521285e518a.jpg resize: (1080, 1632) 1360464456 -2.542552750596237 treat image : temp/1747899447_2205725_1360464423_6afcce811ee830e99cb97dbb6ced850f.jpg resize: (1080, 1632) 1360464423 -4.858434003240709 treat image : temp/1747899447_2205725_1360464420_101aa078357d1a616fe24a1baa3d9548.jpg resize: (1080, 1632) 1360464420 -4.1899843092362845 treat image : temp/1747899447_2205725_1360464419_5bc0a217925e94d89b696928e16ae9fa.jpg resize: (1080, 1632) 1360464419 -4.810382009430705 treat image : temp/1747899447_2205725_1360464411_1b07b95a0aa6c68b17f29c24dfdd7075.jpg resize: (1080, 1632) 1360464411 -3.385918067524959 treat image : temp/1747899447_2205725_1360464380_6b018ad97ff928ea98e838cbeabdd22e.jpg resize: (1080, 1632) 1360464380 -5.085005333740097 treat image : temp/1747899447_2205725_1360464376_9865a248cef56ac2b69b8e6178e834ab.jpg resize: (1080, 1632) 1360464376 -6.0953537087299186 treat image : temp/1747899447_2205725_1360464372_785e1267f461c6d15d561094a3ef0ffe.jpg resize: (1080, 1632) 1360464372 -5.556409852942456 treat image : temp/1747899447_2205725_1360464358_2074393541955e0b2e435cff99b09259.jpg resize: (1080, 1632) 1360464358 -3.9291241926521168 treat image : temp/1747899447_2205725_1360464329_a495793b86f1ac54103a25f306eaaff0.jpg resize: (1080, 1632) 1360464329 -4.79753705137409 treat image : temp/1747899447_2205725_1360439805_4db7637e0789591c26204b467055e44a.jpg resize: (1080, 1632) 1360439805 -4.103319906319462 treat image : temp/1747899447_2205725_1360439799_8ddb5a2767a9057cb47cab607524bb94.jpg resize: (1080, 1632) 1360439799 -3.1720822169951806 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.01369929313659668 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.0780026912689209 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.10921788215637207 save missing photos in datou_result : time spend for datou_step_exec : 17.388518810272217 time spend to save output : 0.20570778846740723 total time spend for step 1 : 17.594226598739624 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.15user 4.81system 0:22.63elapsed 88%CPU (0avgtext+0avgdata 137760maxresident)k 152inputs+9040outputs (8major+258198minor)pagefaults 0swaps