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 : 3960614 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 : 2951>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/3960614/ 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.7464771270751953 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 Tue May 13 19:12: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/1747156349_3960614_1357888931_fc2983db50eeae2009f541cc4aaaf598.jpg resize: (1080, 1632) 1357888931 -5.65977895174742 treat image : temp/1747156349_3960614_1357888573_bc5c7c6209e0e25cc58c6df958e6c597.jpg resize: (1080, 1632) 1357888573 -5.889090830509406 treat image : temp/1747156349_3960614_1357888528_8e5cec04bfe3b3b3eb800dc0abc1b24e.jpg resize: (1080, 1632) 1357888528 -5.894716741001601 treat image : temp/1747156349_3960614_1357888479_1241ee5f3409fd89584710df88a049a6.jpg resize: (1080, 1632) 1357888479 -6.043297876319232 treat image : temp/1747156349_3960614_1357888425_42527388ad552cd7e41a660232feeb97.jpg resize: (1080, 1632) 1357888425 -5.680335934112626 treat image : temp/1747156349_3960614_1357888357_864adb295ad2a869d046bd038c910e02.jpg resize: (1080, 1632) 1357888357 -5.6535664928637015 treat image : temp/1747156349_3960614_1357888235_dd78f946d54fc267818487abd8a81315.jpg resize: (1080, 1632) 1357888235 -5.622614120071638 treat image : temp/1747156349_3960614_1357887659_0e9e7e9945d737f467b4fe71e9afe0ba.jpg resize: (1080, 1632) 1357887659 -5.373002638364623 treat image : temp/1747156349_3960614_1357887650_63296c5805273e3cfa3fc3d41153a246.jpg resize: (1080, 1632) 1357887650 -5.438757229971603 treat image : temp/1747156349_3960614_1357887640_1cdca08e312cb3eeabf41be3742a9011.jpg resize: (1080, 1632) 1357887640 -5.75034841025537 treat image : temp/1747156349_3960614_1357887141_35e9eb6397d68b27ba69fc18583f84cb.jpg resize: (1080, 1632) 1357887141 -5.516619717242024 treat image : temp/1747156349_3960614_1357858490_ffe4263edf7767bca709aba7dd628631.jpg resize: (1080, 1632) 1357858490 -6.803031487788667 treat image : temp/1747156349_3960614_1357858486_b6272eb6f91805e87cc16e9d6b7f59f3.jpg resize: (1080, 1632) 1357858486 -6.4528998762123955 treat image : temp/1747156349_3960614_1357858473_148e5cb82444d99108df33b468af907e.jpg resize: (1080, 1632) 1357858473 -3.1280420066641477 treat image : temp/1747156349_3960614_1357858471_d893cb03654c230a2b94ecbe75caec3f.jpg resize: (1080, 1632) 1357858471 -6.219891239184315 treat image : temp/1747156349_3960614_1357858469_d9eef63cd7e3c7da244ae74f104f29ca.jpg resize: (1080, 1632) 1357858469 -6.05788238077417 treat image : temp/1747156349_3960614_1357857775_f4c0250335ce1c2370ad2a108de42e3d.jpg resize: (1080, 1632) 1357857775 -2.8056092382493345 treat image : temp/1747156349_3960614_1357857759_32d52c44fb603cbda7a3c8e95303bc35.jpg resize: (1080, 1632) 1357857759 -6.0376861235400945 treat image : temp/1747156349_3960614_1357857604_5cd89d6d64e2a22f8c3dba070d0859c3.jpg resize: (1080, 1632) 1357857604 -4.7704212788477705 treat image : temp/1747156349_3960614_1357857571_1e73aaf4e3c9c4efd98371c21699b0ff.jpg resize: (1080, 1632) 1357857571 -5.472714522269706 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.015675067901611328 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.015000104904174805 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015931367874145508 save missing photos in datou_result : time spend for datou_step_exec : 17.89584231376648 time spend to save output : 0.05143237113952637 total time spend for step 1 : 17.947274684906006 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.86user 4.81system 0:24.11elapsed 85%CPU (0avgtext+0avgdata 139224maxresident)k 2608inputs+11224outputs (10major+260014minor)pagefaults 0swaps