Skip to content

Instantly share code, notes, and snippets.


bertcarremans bertcarremans

View GitHub Profile
# snippet to create circles on map
coords_belgium=[50.5039, 4.4699]
pollution_map = folium.Map(location=coords_belgium, control_scale=True, zoom_start=8)
for i in range(0,len(loc_df)):
folium.Circle(location=[loc_df.iloc[i]['Latitude'], loc_df.iloc[i]['Longitude']]
, popup=loc_df.iloc[i]['SamplingPoint']
, radius=500
, color='blue'
, fill=True
bertcarremans /
Last active Sep 15, 2020
Split images randomly over train or validation folder
# Copyright 2014-2017 Bert Carremans
# Author: Bert Carremans <>
# License: BSD 3 clause
import os
import random
from shutil import copyfile
You can’t perform that action at this time.