python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 8 -a ' --fifo -a 533 -l 100 ' -s datou_current_533 -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 : 3717256 load datou : 533 # 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) All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! DataTypes for each output/input checked ! 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_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? [ (photo_id, hashtag_id_0, score_0), (photo_id, hashtag_id_1, score_1), ...] was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? chemin de la photo 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 : 1059>100 please execute split_portfolio.py -i 21332168 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 533, datou_cur_ids : ['2661270'] with mtr_portfolio_ids : ['21332168'] and first list_photo_ids : [] new path : /proc/3717256/ 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) All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! DataTypes for each output/input checked ! List Step Type Loaded in datou : tfhub_classification2, argmax list_input_json : {} origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BHTTP Error 404: Not Found can't download the photo : 1343560508 complete_path : /home/admin/workarea/git/Velours/python/temp/1741803929_3717256_1343560508_7cae37940c46102e31bd5893876ac2b3.jpg FBHTTP Error 404: Not Found can't download the photo : 1343560219 complete_path : /home/admin/workarea/git/Velours/python/temp/1741803929_3717256_1343560219_334f3109eea31d45cfae24577749d827.jpg FBHTTP Error 404: Not Found can't download the photo : 1343559830 complete_path : /home/admin/workarea/git/Velours/python/temp/1741803929_3717256_1343559830_dca213969e0230fedd91651f469d5bef.jpg FBHTTP Error 404: Not Found can't download the photo : 1343558429 complete_path : /home/admin/workarea/git/Velours/python/temp/1741803929_3717256_1343558429_b69c7a38fcda45fe49436e3327022b64.jpg FBHTTP Error 404: Not Found can't download the photo : 1343558344 complete_path : /home/admin/workarea/git/Velours/python/temp/1741803929_3717256_1343558344_bd46be0ddd33aae3b1ef198b2218f4b2.jpg FBHTTP Error 404: Not Found can't download the photo : 1343556717 complete_path : /home/admin/workarea/git/Velours/python/temp/1741803929_3717256_1343556717_ccb854add2ca77ab52b45fa18d6dbcc0.jpg Fwe have missing 6 photos in the step downloads : photo missing : [1343560508, 1343560219, 1343559830, 1343558429, 1343558344, 1343556717] try to delete the photos missing in DB Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1343560508 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1343560219 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1343559830 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1343558429 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1343558344 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1343556717 length of list_filenames : 0 ; length of list_pids : 0 ; length of list_args : 0 time to download the photos : 2.723242998123169 About to test input to load empty input or other problem ret : 2 len(total_photo_id_missing) : 6 1.00user 0.60system 0:06.02elapsed 26%CPU (0avgtext+0avgdata 98372maxresident)k 0inputs+8outputs (5major+48273minor)pagefaults 0swaps