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 : 3335110 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 : 1612>100 please execute split_portfolio.py -i 21370538 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2664544'] with mtr_portfolio_ids : ['21370538'] and first list_photo_ids : [] new path : /proc/3335110/ 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 : 3.2771096229553223 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 Mar 13 15:32: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/1741876345_3335110_1343742643_6b794f4779c2113793dc57c48122347d.jpg resize: (1080, 1632) 1343742643 -4.1951857672009 treat image : temp/1741876345_3335110_1343742602_55302647108fbc44ba987bdf70842776.jpg resize: (1080, 1632) 1343742602 -4.975973582117935 treat image : temp/1741876345_3335110_1343742524_52dc481b3294efe6ffcfb758a4a53576.jpg resize: (1080, 1632) 1343742524 -3.4245137161242725 treat image : temp/1741876345_3335110_1343742161_15e320b7385696e5e13d91fee10f1aff.jpg resize: (1080, 1632) 1343742161 -5.839500685238816 treat image : temp/1741876345_3335110_1343742157_c5ce06f79bb2461a76b4f75d7a4ef147.jpg resize: (1080, 1632) 1343742157 -3.609199313582316 treat image : temp/1741876345_3335110_1343741740_beeda349d5b57dd498123c971bdb50be.jpg resize: (1080, 1632) 1343741740 -5.70256871512627 treat image : temp/1741876345_3335110_1343741391_32b8744840394a1560d6e1bb65c4377f.jpg resize: (1080, 1632) 1343741391 -5.980003298730302 treat image : temp/1741876345_3335110_1343741079_efad53c029660e2a11be515b4988d5d6.jpg resize: (1080, 1632) 1343741079 -2.4924896023251497 treat image : temp/1741876345_3335110_1343741048_8674f939bd37864e2e51c5b14858643c.jpg resize: (1080, 1632) 1343741048 -5.834601246067022 treat image : temp/1741876345_3335110_1343741042_cf1aa0dae5adef9d0774a1b8a3e66976.jpg resize: (1080, 1632) 1343741042 -6.113869389207895 treat image : temp/1741876345_3335110_1343741036_6737cc92d7f1606127347db06fce2bc1.jpg resize: (1080, 1632) 1343741036 -6.400485079871229 treat image : temp/1741876345_3335110_1343741032_6cb8b40ad5143cc00f8ce2a71f10e8d5.jpg resize: (1080, 1632) 1343741032 -6.743893843395652 treat image : temp/1741876345_3335110_1343741025_af5b50df9ad0b234bc1d807ae71e3b35.jpg resize: (1080, 1632) 1343741025 -5.746314169066715 treat image : temp/1741876345_3335110_1343740995_e7150b75f1ff02f25303eef5dc02990f.jpg resize: (1080, 1632) 1343740995 -6.089124519248514 treat image : temp/1741876345_3335110_1343740991_28e12525b1aa83fdea27a67e8e47f146.jpg resize: (1080, 1632) 1343740991 -4.678953962211409 treat image : temp/1741876345_3335110_1343740988_371e233a18083a9e050e0f381d2ada1c.jpg resize: (1080, 1632) 1343740988 -5.686062789940245 treat image : temp/1741876345_3335110_1343740986_7910c3c1c25ef5da86a0cd981c5756aa.jpg resize: (1080, 1632) 1343740986 -6.284508917867218 treat image : temp/1741876345_3335110_1343740982_e965b86680181ea912520773a99c6bcf.jpg resize: (1080, 1632) 1343740982 -6.100235377651127 treat image : temp/1741876345_3335110_1343740961_4554fb5b0aa32d071a9dd780ff2dc916.jpg resize: (1080, 1632) 1343740961 -6.063872494620083 treat image : temp/1741876345_3335110_1343740935_b7300fb2ba7d1dd2349a0ff789ce6d28.jpg resize: (1080, 1632) 1343740935 -1.9110664923956364 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.046622514724731445 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.013991594314575195 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015825986862182617 save missing photos in datou_result : time spend for datou_step_exec : 15.06992483139038 time spend to save output : 0.08164572715759277 total time spend for step 1 : 15.151570558547974 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.63user 3.07system 0:19.90elapsed 88%CPU (0avgtext+0avgdata 140552maxresident)k 112inputs+10976outputs (3major+256757minor)pagefaults 0swaps