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 : 2931167 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 : 1877>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/2931167/ 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.249084949493408 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 May 13 14:17: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/1747138649_2931167_1357839622_452ca3396e106a4da47ce2adf7050a8c.jpg resize: (1080, 1632) 1357839622 -5.978527225147255 treat image : temp/1747138649_2931167_1357839581_00b8af35edfabdc60affa5b1c1bdb837.jpg resize: (1080, 1632) 1357839581 -0.009300659987832666 treat image : temp/1747138649_2931167_1357839580_f6ed6b6f70e74b3db46a747dcc6796f0.jpg resize: (1080, 1632) 1357839580 -1.6905498656196374 treat image : temp/1747138649_2931167_1357839576_7fda8c5ce3764734f75f3e6eb3616bf2.jpg resize: (1080, 1632) 1357839576 -1.8945952485200506 treat image : temp/1747138649_2931167_1357839295_4f892f75af82d28ed2f568987ceb2496.jpg resize: (1080, 1632) 1357839295 -6.078595663834748 treat image : temp/1747138649_2931167_1357839293_57017b0d477391cf7e2cb1e8b9a679e8.jpg resize: (1080, 1632) 1357839293 -6.096209037806013 treat image : temp/1747138649_2931167_1357839289_41cee58316462193ebe9ae610ae9f38f.jpg resize: (1080, 1632) 1357839289 -5.943992048746308 treat image : temp/1747138649_2931167_1357839287_d806264ef78549632a3b6fd48280c736.jpg resize: (1080, 1632) 1357839287 -5.71894561525893 treat image : temp/1747138649_2931167_1357839282_629bc58ee48d04766a0855415cd2a65f.jpg resize: (1080, 1632) 1357839282 -3.997960180914615 treat image : temp/1747138649_2931167_1357839266_828f2e5019bb44a2e29b503bb2fe88d6.jpg resize: (1080, 1632) 1357839266 -2.764502557183743 treat image : temp/1747138649_2931167_1357838720_334ac1a51bfb3ccba311d9ae8375fac7.jpg resize: (1080, 1632) 1357838720 -0.8040121620288457 treat image : temp/1747138649_2931167_1357838691_9137619c59fb81c2ddd51586c59dff6a.jpg resize: (1080, 1632) 1357838691 -1.8727498579554995 treat image : temp/1747138649_2931167_1357838661_1966f7580a9769fd676415b1cfddee65.jpg resize: (1080, 1632) 1357838661 -1.9192758054822543 treat image : temp/1747138649_2931167_1357838627_4ad8da36633391d9505af7bd94c427f5.jpg resize: (1080, 1632) 1357838627 -5.804634582760008 treat image : temp/1747138649_2931167_1357838552_49b9068ed323e231468f85cef8dbbee5.jpg resize: (1080, 1632) 1357838552 -5.745036797958513 treat image : temp/1747138649_2931167_1357838548_b9d158bbdac28d3bab50471e372ff869.jpg resize: (1080, 1632) 1357838548 -3.4040584901280395 treat image : temp/1747138649_2931167_1357838545_eee68d0d6d731a779e962e77bcb2111f.jpg resize: (1080, 1632) 1357838545 -5.967566146596762 treat image : temp/1747138649_2931167_1357838542_fedd38ffff3256b6426aea6f423181f3.jpg resize: (1080, 1632) 1357838542 -5.0410980535575804 treat image : temp/1747138649_2931167_1357838541_f4c23e6f78b5f2a2e8e0a3ae93412ea2.jpg resize: (1080, 1632) 1357838541 -5.379522827003114 treat image : temp/1747138649_2931167_1357838538_4851debcd85884e1c0f50313d6f7dc47.jpg resize: (1080, 1632) 1357838538 -3.6815251043475694 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.014457225799560547 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.014958858489990234 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016946792602539062 save missing photos in datou_result : time spend for datou_step_exec : 18.20483922958374 time spend to save output : 0.07605648040771484 total time spend for step 1 : 18.280895709991455 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.04user 5.46system 0:24.33elapsed 84%CPU (0avgtext+0avgdata 141336maxresident)k 13072inputs+9648outputs (79major+251335minor)pagefaults 0swaps