cosmiq / cosmiq_sn6_baseline Goto Github PK
View Code? Open in Web Editor NEWBaseline algorithm for the SpaceNet 6 Challenge
License: Apache License 2.0
Baseline algorithm for the SpaceNet 6 Challenge
License: Apache License 2.0
The current solution forces the use of 4 channels images. Trying to use 3 channel images I have the following error even having specified in the YAML configuration image type = 24 bit and channels = 3
Traceback (most recent call last):
File "./baseline.py", line 883, in <module>
train(args)
File "./baseline.py", line 599, in train
trainer.train()
File "/opt/conda/envs/solaris/lib/python3.7/site-packages/solaris/nets/train.py", line 139, in train
output = self.model(data)
File "/opt/conda/envs/solaris/lib/python3.7/site-packages/torch/nn/modules/module.py", line 532, in __call__
result = self.forward(*input, **kwargs)
File "/root/model.py", line 95, in forward
conv1 = self.relu(self.conv1(x))
File "/opt/conda/envs/solaris/lib/python3.7/site-packages/torch/nn/modules/module.py", line 532, in __call__
result = self.forward(*input, **kwargs)
File "/opt/conda/envs/solaris/lib/python3.7/site-packages/torch/nn/modules/conv.py", line 345, in forward
return self.conv2d_forward(input, self.weight)
File "/opt/conda/envs/solaris/lib/python3.7/site-packages/torch/nn/modules/conv.py", line 342, in conv2d_forward
self.padding, self.dilation, self.groups)
RuntimeError: Given groups=1, weight of size 64 4 3 3, expected input[8, 3, 512, 512] to have 4 channels, but got 3 channels instead
Hi,
I tried loading the included model via torch.load() and got the following error:
model = torch.load(path, map_location=torch.device('cpu') )
RuntimeError: unexpected EOF, expected 10696272 more bytes. The file might be corrupted.
I'm using torch 1.5.0.
Thanks !
When trying to build a docker image from the root folder with
docker build .
Fails with the following messages
Executing transaction: failed
ERROR conda.core.link:_execute(502): An error occurred while installing package 'conda-forge::affine-2.3.0-py_0'.
FileNotFoundError(2, "No such file or directory: '/opt/conda/envs/solaris/bin/python3.6'")
Attempting to roll back.
Rolling back transaction: done
FileNotFoundError(2, "No such file or directory: '/opt/conda/envs/solaris/bin/python3.6'")
Appears that it is attempting to install the affine package before installing the python interpreter itself. Have found a work around which involves first creating the environment with
conda create -n solaris python=3.6.7
And then installing the packages
conda install --file environment-gpu.txt
Where envrionment-gpu.txt
is a flat list of the packages from the environment-gpu.yml
file without the channel information or other structural elements.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.