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 : 1536369 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 : 296>100 please execute split_portfolio.py -i 22940775 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2844070'] with mtr_portfolio_ids : ['22940775'] and first list_photo_ids : [] new path : /proc/1536369/ 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.2545931339263916 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 May 14 06:17: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/1747196246_1536369_1358094760_5488c3e24f2bfa399d701f743eeb2479.jpg resize: (1080, 1632) 1358094760 -2.7537252790668747 treat image : temp/1747196246_1536369_1358094752_9561512503077ceac1ce46db76026b43.jpg resize: (1080, 1632) 1358094752 -5.899376943165763 treat image : temp/1747196246_1536369_1358094749_37dc7476ed32be7c4d9348f3a41aec24.jpg resize: (1080, 1632) 1358094749 -6.300091518914399 treat image : temp/1747196246_1536369_1358094747_da21aea71cd3edbcea385d97ae40b19a.jpg resize: (1080, 1632) 1358094747 -6.111896501516386 treat image : temp/1747196246_1536369_1358094728_44a4d59b3c53bf7e01e41bc09d906ad7.jpg resize: (1080, 1632) 1358094728 -4.87822086625976 treat image : temp/1747196246_1536369_1358094725_d2efaecfcd8f8a6f82312d02390fe91f.jpg resize: (1080, 1632) 1358094725 -6.216122946156269 treat image : temp/1747196246_1536369_1358094722_096906a658aa6177e79651161620ef6f.jpg resize: (1080, 1632) 1358094722 -6.263120626124015 treat image : temp/1747196246_1536369_1358094720_72ccd93b38acc8bb72398ccde818b9b8.jpg resize: (1080, 1632) 1358094720 -5.825087563202153 treat image : temp/1747196246_1536369_1358094718_fcddb01eccbce21de79e0c7a798bde52.jpg resize: (1080, 1632) 1358094718 -5.2581304783257625 treat image : temp/1747196246_1536369_1358094716_d4619b10a9c9bf7a919358a82c369d40.jpg resize: (1080, 1632) 1358094716 -2.8638656608795725 treat image : temp/1747196246_1536369_1358094689_5ddd737c116ce54c1afa185eb50087b5.jpg resize: (1080, 1632) 1358094689 -5.978771221656434 treat image : temp/1747196246_1536369_1358094686_352b97a1385c5e19c77d52c3d915142a.jpg resize: (1080, 1632) 1358094686 -5.9491332083018875 treat image : temp/1747196246_1536369_1358094685_4f9030239a23db71d83a7faf31f97006.jpg resize: (1080, 1632) 1358094685 -2.146022945526087 treat image : temp/1747196246_1536369_1358094682_978f8a3584a18c0e10f8175ee07e5f97.jpg resize: (1080, 1632) 1358094682 -3.547809528271631 treat image : temp/1747196246_1536369_1358094662_442da68d2844894ac21d0ca9ba73dfda.jpg resize: (1080, 1632) 1358094662 -5.977034987278835 treat image : temp/1747196246_1536369_1358094659_806db5d257bb6361e73bd28e3d310681.jpg resize: (1080, 1632) 1358094659 -4.707552507801408 treat image : temp/1747196246_1536369_1358094657_7212497ba0551e23878dbb2984f2d176.jpg resize: (1080, 1632) 1358094657 -5.738342830400405 treat image : temp/1747196246_1536369_1358094655_150da104c390a123d6a8cb06915ce829.jpg resize: (1080, 1632) 1358094655 -5.819951150861718 treat image : temp/1747196246_1536369_1358094652_b10d75d8de4f60af951122ff37570e35.jpg resize: (1080, 1632) 1358094652 -5.913982616326068 treat image : temp/1747196246_1536369_1358094629_19251b933b86c542f08e06394e3ba5f9.jpg resize: (1080, 1632) 1358094629 -2.3425521021660938 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.012866497039794922 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.26688408851623535 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.8789236545562744 save missing photos in datou_result : time spend for datou_step_exec : 15.004579305648804 time spend to save output : 1.1630074977874756 total time spend for step 1 : 16.16758680343628 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.07user 3.32system 0:20.48elapsed 84%CPU (0avgtext+0avgdata 141920maxresident)k 8inputs+10712outputs (0major+260031minor)pagefaults 0swaps