Vision transformer-based automatic weather detection with adaptive transfer learning using Bayesian optimization and genetic algorithm | Synapse