check state after read filelist file or image file
fix labels contruction error in Train
update Detect project configuration