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 : 2224818 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 : 7633>100 please execute split_portfolio.py -i 24774035 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3262193'] with mtr_portfolio_ids : ['24774035'] and first list_photo_ids : [] new path : /proc/2224818/ 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.3987197875976562 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 Jul 10 23:47: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/1752184048_2224818_1371529209_b969e2a14501532d951ab3fc7bf7b068.jpg resize: (1080, 1632) 1371529209 -4.1986964942404175 treat image : temp/1752184048_2224818_1371529207_82a7e1dc2560bc6bf90a1d1faa6eff55.jpg resize: (1080, 1632) 1371529207 -1.4421488069459785 treat image : temp/1752184048_2224818_1371529119_a60d8d8e3949f0b36d663006fee22db5.jpg resize: (1080, 1632) 1371529119 -5.108797220727528 treat image : temp/1752184048_2224818_1371529113_5f91691273381a185dad134fde2eaae0.jpg resize: (1080, 1632) 1371529113 -3.1064058154288166 treat image : temp/1752184048_2224818_1371528823_aa761cce09704e75777469b4ae66993b.jpg resize: (1080, 1632) 1371528823 -5.466506641447447 treat image : temp/1752184048_2224818_1371528819_e29a259d4875b74bc805babb28162df9.jpg resize: (1080, 1632) 1371528819 -2.6401609415085248 treat image : temp/1752184048_2224818_1371528733_0c1ad2657c7ae5cac2ff1f0873118328.jpg resize: (1080, 1632) 1371528733 -5.886448843302747 treat image : temp/1752184048_2224818_1371528727_3fe153d9ebf5e44fb6fd4dda749c2371.jpg resize: (1080, 1632) 1371528727 -4.814406865632094 treat image : temp/1752184048_2224818_1371528348_206ba7ccf98ec1254b947d048190bbe6.jpg resize: (1080, 1632) 1371528348 -2.624751116991265 treat image : temp/1752184048_2224818_1371528347_5efc604ab5259322e84033025b231e10.jpg resize: (1080, 1632) 1371528347 -5.002480615106473 treat image : temp/1752184048_2224818_1371528236_83201ed1325db56bf28d3bf152bb33de.jpg resize: (1080, 1632) 1371528236 -5.5197681104295695 treat image : temp/1752184048_2224818_1371528225_40445a1355c808370456ddbf8b8ea956.jpg resize: (1080, 1632) 1371528225 -4.774450003611113 treat image : temp/1752184048_2224818_1371527859_6cfe2a8ee4712be445edd64092d4eabd.jpg resize: (1080, 1632) 1371527859 -5.2881753569083 treat image : temp/1752184048_2224818_1371527841_81c1cfb7a7330b4d2d427dabb97c7fe2.jpg resize: (1080, 1632) 1371527841 -2.074792755010655 treat image : temp/1752184048_2224818_1371527808_831a50c684ff10afbe6df1a8ae22bc74.jpg resize: (1080, 1632) 1371527808 -5.03876322561319 treat image : temp/1752184048_2224818_1371527799_6735db4059ff17bf81ad9e5062833de1.jpg resize: (1080, 1632) 1371527799 -5.141789158694681 treat image : temp/1752184048_2224818_1371527491_022190e3db9c9590f0643c3c4ae1572a.jpg resize: (1080, 1632) 1371527491 -5.5542060695394895 treat image : temp/1752184048_2224818_1371527398_967f62867499a0b698e68123e17f48b2.jpg resize: (1080, 1632) 1371527398 -1.313148381113752 treat image : temp/1752184048_2224818_1371527372_95fa5fa09045ece02e603077db1513e2.jpg resize: (1080, 1632) 1371527372 -4.9649126843181595 treat image : temp/1752184048_2224818_1371527365_cc945d8e10ef711f78113948c24c1f94.jpg resize: (1080, 1632) 1371527365 -4.9492105172456835 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.014078855514526367 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.013252735137939453 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01478886604309082 save missing photos in datou_result : time spend for datou_step_exec : 14.395535945892334 time spend to save output : 0.0469970703125 total time spend for step 1 : 14.442533016204834 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.23user 3.55system 0:19.94elapsed 84%CPU (0avgtext+0avgdata 139652maxresident)k 104inputs+8912outputs (0major+259783minor)pagefaults 0swaps