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 : 3092743 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 : 2350>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/3092743/ 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.268357753753662 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 Mon May 12 16:37:31 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/1747060648_3092743_1357667273_b1584fc9dbf6109afa370e9be943227f.jpg resize: (1080, 1632) 1357667273 -3.314251328013523 treat image : temp/1747060648_3092743_1357667222_d38904af8180f09442ea7a1d3f493cb8.jpg resize: (1080, 1632) 1357667222 -3.7811673943887794 treat image : temp/1747060648_3092743_1357667178_f3d1365b99ee5d78419b56b4edc41584.jpg resize: (1080, 1632) 1357667178 -1.1341382826994015 treat image : temp/1747060648_3092743_1357667150_e0498f68263f1a61dc5de6ad6cd67e2e.jpg resize: (1080, 1632) 1357667150 -2.727573694322268 treat image : temp/1747060648_3092743_1357666965_86560ddf1179516d904ca997d3b91992.jpg resize: (1080, 1632) 1357666965 -1.8080099140866719 treat image : temp/1747060648_3092743_1357666937_44dbe303b2c5cc906822d25d007cdf77.jpg resize: (1080, 1632) 1357666937 -2.602057635013423 treat image : temp/1747060648_3092743_1357666910_9e590a081364f19eaa5404bb51dc2b5e.jpg resize: (1080, 1632) 1357666910 -3.570238461058883 treat image : temp/1747060648_3092743_1357666884_42b321616e2367fa2b619ddc0872871b.jpg resize: (1080, 1632) 1357666884 -5.637583966966814 treat image : temp/1747060648_3092743_1357666869_60e923a612e7d0193a64a67f17e5e6f3.jpg resize: (1080, 1632) 1357666869 -5.928213916606575 treat image : temp/1747060648_3092743_1357666867_1fb8b91ab0dddba2ad66e451508ab4f4.jpg resize: (1080, 1632) 1357666867 -4.484199412245736 treat image : temp/1747060648_3092743_1357666831_9704be5a78698302769d7c099ec58465.jpg resize: (1080, 1632) 1357666831 -6.115333994054488 treat image : temp/1747060648_3092743_1357666828_e2e953bd5a16d4cff30d9887676df15f.jpg resize: (1080, 1632) 1357666828 -6.476810395392053 treat image : temp/1747060648_3092743_1357666826_f36452e82df44277f519cf3b2e6e3c61.jpg resize: (1080, 1632) 1357666826 -6.277897558947756 treat image : temp/1747060648_3092743_1357666822_c1396a0c02b5254bd181fbd5aa52a67f.jpg resize: (1080, 1632) 1357666822 -3.833916715628533 treat image : temp/1747060648_3092743_1357666819_75f0f9696b9773a1717393d523730bba.jpg resize: (1080, 1632) 1357666819 -1.5592214490159313 treat image : temp/1747060648_3092743_1357666764_58139d3c8862cbece4e433e3ba7d3b42.jpg resize: (1080, 1632) 1357666764 -1.7496249980644694 treat image : temp/1747060648_3092743_1357666761_4361b3a74066bd41579b8ca1ee640594.jpg resize: (1080, 1632) 1357666761 -3.7797651120473006 treat image : temp/1747060648_3092743_1357666758_d9bbd077ce8abc4f2c26c21f2f22681a.jpg resize: (1080, 1632) 1357666758 -6.004546937636966 treat image : temp/1747060648_3092743_1357666755_c4eafb0be0984cde9e1018c3e60e8bd7.jpg resize: (1080, 1632) 1357666755 -6.494754978544291 treat image : temp/1747060648_3092743_1357666708_ea8f3c0ddfd93e392b1813666838e6a4.jpg resize: (1080, 1632) 1357666708 -3.25032092467999 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.01273345947265625 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.0172269344329834 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01766824722290039 save missing photos in datou_result : time spend for datou_step_exec : 17.731693029403687 time spend to save output : 0.052556514739990234 total time spend for step 1 : 17.784249544143677 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.51user 4.88system 0:23.96elapsed 85%CPU (0avgtext+0avgdata 138668maxresident)k 1712inputs+9632outputs (15major+255685minor)pagefaults 0swaps