Comments (7)
Hi @jakubLangr ! It's a pity that you had troubles with attr
- it should work with versions specified here https://github.com/lopuhin/kaggle-dstl/blob/master/requirements.txt though.
This whole repo is a solution for a Kaggle comp (https://www.kaggle.com/c/dstl-satellite-imagery-feature-detection/), so you'll need all data if you want to reproduce it - train_wkt_v4.csv
was one of data files provided by the organizers.
from kaggle-dstl.
And here is the part about data from comp rules https://www.kaggle.com/c/dstl-satellite-imagery-feature-detection/rules:
Unless otherwise permitted by the terms of the Competition Website, Participants must use the Data solely for the purpose and duration of the Competition, including but not limited to reading and learning from the Data, analyzing the Data, modifying the Data and generally preparing your Submission and any underlying models and participating in forum discussions on the Website. Participants agree to use suitable measures to prevent persons who have not formally agreed to these Competition Rules from gaining access to the Data and agree not to transmit, duplicate, publish, redistribute or otherwise provide or make available the Data to any party not participating in the Competition. Participants agree to notify Kaggle immediately upon learning of any possible unauthorized transmission or unauthorized access of the Data and agree to work with Kaggle to rectify any unauthorized transmission. Participants agree that participation in the Competition shall not be construed as having or being granted a license (expressly, by implication, estoppel, or otherwise) under, or any right of ownership in, any of the Data.
from kaggle-dstl.
Hey @lopuhin ! Thanks again for your swift reply you're awesome 🥇
Yes it does work with the latest dev version pulled from github, but there was some trouble with the pypi one. Definitely not your fault, but just thought it was worth mentioning.
Yes, so sorry I missed that. It just looked like a file that was not provided by Kaggle, but I'm redownloading it now. I'll close this issue now.
from kaggle-dstl.
Yeah, sorry, my data files are all over the place, that one was in the root folder.
from kaggle-dstl.
Sorry one last thing where can I get this file?
FileNotFoundError: [Errno 2] No such file or directory: 'align_cache/6010_1_2_p.alignment'
Pretty sure I downloaded and unzipped all Kaggle files.
from kaggle-dstl.
Full traceback:
2017-05-07 21:53:22,158 [INFO] train: Loading 6010_1_2
2017-05-07 21:53:22,546 [INFO] utils: Getting alignment for 6010_1_2_p
Traceback (most recent call last):
File "./train.py", line 704, in <module>
main()
File "./train.py", line 699, in main
model_path=args.model_path
File "./train.py", line 138, in train
train_images = [self.load_image(im_id) for im_id in sorted(train_ids)]
File "./train.py", line 138, in <listcomp>
train_images = [self.load_image(im_id) for im_id in sorted(train_ids)]
File "./train.py", line 219, in load_image
im_data = self.preprocess_image(utils.load_image(im_id))
File "/root/sharedfolder/kaggle-dstl/utils.py", line 57, in load_image
im_p, _ = _aligned(im_rgb, im_p, key=key('p'))
File "/root/sharedfolder/kaggle-dstl/utils.py", line 88, in _aligned
cc, warp_matrix = _get_alignment(im_ref, im_to_align, key)
File "/root/sharedfolder/kaggle-dstl/utils.py", line 113, in _get_alignment
with cached_path.open('wb') as f:
File "/root/miniconda3/lib/python3.6/pathlib.py", line 1162, in open
opener=self._opener)
File "/root/miniconda3/lib/python3.6/pathlib.py", line 1016, in _opener
return self._accessor.open(self, flags, mode)
File "/root/miniconda3/lib/python3.6/pathlib.py", line 388, in wrapped
return strfunc(str(pathobj), *args)
FileNotFoundError: [Errno 2] No such file or directory: 'align_cache/6010_1_2_p.alignment'
Really high quality code, I have to say! Kudos to you!
from kaggle-dstl.
@jakubLangr ah sorry - that's an error that happens due to missing top-level folder align_cache
- I should have added code that creates it if it does not exist. This is a folder where alignments between different bands are cached cause they are expensive to compute. So if you create this folder once, the error should go away.
from kaggle-dstl.
Related Issues (10)
- Extract Building Footprint from Satellite Images
- Running the repo on the competition data
- Your program doesn't work. HOT 5
- Running error HOT 6
- A little question HOT 1
- A sincere apology HOT 9
- I found 2 problem that lead to the source code can not work HOT 1
- What ‘s your prediction time for one image?
- Typo on README??? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kaggle-dstl.