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 : 1432044 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 : 2907>100 please execute split_portfolio.py -i 26665669 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3681293'] with mtr_portfolio_ids : ['26665669'] and first list_photo_ids : [] new path : /proc/1432044/ 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.4753828048706055 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 Sep 9 17:02: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/1757430148_1432044_1382783393_aff6a65e1d61557dd972bd9f13ab783d.jpg resize: (1080, 1632) 1382783393 -3.622890876676863 treat image : temp/1757430148_1432044_1382783392_88aa2521519e525a0e32317853abc5e2.jpg resize: (1080, 1632) 1382783392 -4.11414422855863 treat image : temp/1757430148_1432044_1382783389_3f67dcf9526ad17f0ab8da412b6d61a7.jpg resize: (1080, 1632) 1382783389 -4.4520632853404445 treat image : temp/1757430148_1432044_1382783388_f767bb5814e9e7937b723237d8c05ce4.jpg resize: (1080, 1632) 1382783388 -4.434867512271799 treat image : temp/1757430148_1432044_1382783386_062e6fb9dc1f7b46e3e77b8eeddd1487.jpg resize: (1080, 1632) 1382783386 -2.5224196372524945 treat image : temp/1757430148_1432044_1382783374_224d9b25a314601b46381826a2984afc.jpg resize: (1080, 1632) 1382783374 -4.3847748277388865 treat image : temp/1757430148_1432044_1382783370_6c64644414f1a33820ae080caa4244c7.jpg resize: (1080, 1632) 1382783370 -5.53429001445724 treat image : temp/1757430148_1432044_1382783367_3f2480b64ded7b0390ad8b5babfdcc96.jpg resize: (1080, 1632) 1382783367 -5.526406347886673 treat image : temp/1757430148_1432044_1382783362_95136788843b2cebe4a914fc80a132ef.jpg resize: (1080, 1632) 1382783362 -5.689825664796839 treat image : temp/1757430148_1432044_1382783358_048e6547b63e67d94a03e6278b3cd5f8.jpg resize: (1080, 1632) 1382783358 -5.580016873471073 treat image : temp/1757430148_1432044_1382783352_113c85acfb90cbc210d00269820e0a39.jpg resize: (1080, 1632) 1382783352 -5.080127662843468 treat image : temp/1757430148_1432044_1382783329_458c77ca09abc67624758d27ed4f67a8.jpg resize: (1080, 1632) 1382783329 -3.547593819855438 treat image : temp/1757430148_1432044_1382783325_6be5ccceb624240d76b0e5500e6567a0.jpg resize: (1080, 1632) 1382783325 -4.97215627809688 treat image : temp/1757430148_1432044_1382783322_6e83083f151a896e7dc1d67f1b15679d.jpg resize: (1080, 1632) 1382783322 -3.947299652131449 treat image : temp/1757430148_1432044_1382783316_00ab0352f5b88c7d0b35b9eecfb56348.jpg resize: (1080, 1632) 1382783316 -1.6296459249950936 treat image : temp/1757430148_1432044_1382783312_e2c450d43821bb60532cf0f1bc3504b3.jpg resize: (1080, 1632) 1382783312 -3.046814521079954 treat image : temp/1757430148_1432044_1382783310_9404b4ba94bd5ab61657a4b3898ff0ad.jpg resize: (1080, 1632) 1382783310 -2.5244837059994287 treat image : temp/1757430148_1432044_1382783307_7ca5f80f161b05854668eae6766cf6ac.jpg resize: (1080, 1632) 1382783307 -4.011700185108026 treat image : temp/1757430148_1432044_1382783298_8244e7b7150124f89808732410e3dcbe.jpg resize: (1080, 1632) 1382783298 -5.563618569088034 treat image : temp/1757430148_1432044_1382783289_8d8392a5f88904c2d9cd931e0b01dc8f.jpg resize: (1080, 1632) 1382783289 -3.6346047808314585 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.04796242713928223 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.04504203796386719 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.04778337478637695 save missing photos in datou_result : time spend for datou_step_exec : 14.759680271148682 time spend to save output : 0.16226482391357422 total time spend for step 1 : 14.921945095062256 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.18user 2.59system 0:21.14elapsed 79%CPU (0avgtext+0avgdata 139396maxresident)k 8inputs+9296outputs (4major+259314minor)pagefaults 0swaps