I am inputting series of float32 grayscale images as a list with 16*16 shape to python and try do a regression task with labels inputted from Pandas data frame. Here is the shape of images and df: I used train_test_split from sklearn to split the data to train and test: I am using the following model for doing the prediction,
Tag: gdal
installing Gdal on Windows 10 with python 3.6.4: fatal error C1083: Cannot open include file: ‘cpl_port.h’
So I am trying to pip install gdal but got an error. So I am running the following: Python 3.6.4 anaconda distribution Windows 10 (x64) Microsoft Visual 2017 Redistribute both x64 and x86 (both installed by the vs builder tool) MS Visual was installed because of this error before Here is the trace log for the error: Any ideas how
How do I change a raster’s geotransform with GDAL?
I’m trying to use GDAL to set the geotransform of a new raster that I’ve created by following the steps outlined in the GDAL API Tutorial. The dataset.SetGeoTransform() documentation says that this should set the affine transformation coefficients (which, according to the dataset.GetGeoTransform() documentation is set to [0, 1, 0, 0, 0, 1] by default), but as you can see