Robust video based fire and smoke detection with attentional-based 3D CNN model