Comments (11)
Given the remaining task for this is map-related, I've given it the maps
label.
from mapreader.
from mapreader.
@ChristinaLast yes, I think so too.
from mapreader.
@ChristinaLast mybinder seems to be back up. I just tested the quick_start
notebook.
from mapreader.
ok same, thanks. sorry was in a meet with @kmcdono2 and I wanted to demo then and there!
from mapreader.
@ChristinaLast What do you think if we have more than one Binder link? Does it make sense to have:
* [ ] Example for Maps * [x] Example for Plant images
For the latter, we have a link now:
I just tested it, and it works, but I want to also add all the cells/codes of that notebook to CI.
Related issue: #28
I just mentioned this to @kmcdono2 and I think separate binder links to user-specific tutorials are the way forward. Myself and @kmcdono2 will work on the "historian/librarian user-based tutorials".
Associated tasks:
- @kmcdono2 to create detailed user stories for the users she wants to prioritise.
- @ChristinaLast after above is complete, to take first pass at creating jupyter notebook tutorial for one user (probably historical researcher).
from mapreader.
I just tested it, and it works, but I want to also add all the cells/codes of that notebook to CI.
Let me know about how to achieve this, quite interested + it will definitely be useful!
from mapreader.
Yes, it would be great to add all the cells/codes of that notebook to CI. I think there are different ways to do this. The simplest would be to do exactly that: move all the codes to a function here: https://github.com/Living-with-machines/MapReader/tree/main/tests
e.g., we can have a new file there: test_plant_simple.py
. In that file, we can have:
import pytest
def test_plant_simple():
[...move all the codes/cells here...]
# In the above lines and/or in the end, we add some tests, e.g.:
assert number_of_patches == ...
assert number_of_predictions == ...
The issue with this is that there is no link between test_plant_simple.py
and quick_start
notebook, but I think it should be good for what we need on MapReader? (Alternatively, we can use nbdev
or nbconvert
.)
from mapreader.
@ChristinaLast @kasra-hosseini - here is the start of user roles. What other information would be useful to include, if any?
Historian (or other domain)
(or researcher from any domain with a question that information about historical landscapes can help answer)
"I want to search the visual contents of a large set of maps to help me answer a question about the past."
-
MapReader can help you find instances of spatial phenomena in a collection of maps that is too large for you to 'close read/view'.
-
MapReader creates output that you can link and analyze in relation to other geospatial datasets (e.g. census, gazetteers, toponyms in text corpora).
-
Tutorial/binder link
Data scientist
"I have a map or other image collection that I would like to analyze at the patch level using the annotation and inference tools in MapReader."
-
MapReader can be applied to non-cartographic datasets. For example, we have applied it to whole plant images (add link to the relevant
Use cases
section). -
There are lots of ways we would like to extend the functionality of MapReader, for maps and other images.
-
Tutorial/binder (maybe this is the plant images one?)
GLAM Professional
"I have a collection of maps that have been scanned and georeferenced. How can I use MapReader?"
- If your maps cannot be openly released, MapReader can be used to create derived data that can be shared publicly. The institution could create these datasets or individual researchers could create datasets specific to their research questions.
from mapreader.
Yes, it would be great to add all the cells/codes of that notebook to CI. I think there are different ways to do this. The simplest would be to do exactly that: move all the codes to a function here: https://github.com/Living-with-machines/MapReader/tree/main/tests
e.g., we can have a new file there:
test_plant_simple.py
. In that file, we can have:import pytest def test_plant_simple(): [...move all the codes/cells here...] # In the above lines and/or in the end, we add some tests, e.g.: assert number_of_patches == ... assert number_of_predictions == ...The issue with this is that there is no link between
test_plant_simple.py
andquick_start
notebook, but I think it should be good for what we need on MapReader? (Alternatively, we can usenbdev
ornbconvert
.)
Apologies, I'm picking up on this now, after a holiday! and also a week on my other project. There is also Doctest
and its extension for jupyter notebooks
xdoctest
which can test a python script/notebook containing docstrings with tests. It could be useful for readability if tests were included in docstrings within functions in the |"quickstart" notebooks, at least for more technical users. If we used this, we would have to figure out whether upon build we can run this during binder build.
from mapreader.
This issues has been closed, as we are no longer pursuing the Binder integration.
from mapreader.
Related Issues (20)
- show metadata (e.g pixel values, geometry) in the annotator view
- Broken URL in the Workshop_AprilMay2024_part2.ipynb notebook HOT 1
- Invalid syntax error on the calculate_add_metrics cell HOT 1
- Displaying scores per class HOT 2
- Add the device argument for GPU support on the ClassifierContainer() HOT 1
- Can't download maps using my_ts.download_map_sheets_by_queries() HOT 1
- Update workshop materials based on feedback from April HOT 2
- font clustering task (tagging text spotting output)
- review notebooks and provide suggestions for how to frame "your turn" sections HOT 1
- make video for installation (already a @rwood-97 plan)
- make a "post workshop" page in documentation with tips for next steps
- make section in documentation site about workshops. has pages: "how to organise a workshop", "workshop resources", "post workshop tips", "places to get maps for MapReader"
- Create google collab or dockerised version of some MapReader worked examples
- Remove any padding when calculating pixel stats for a patch
- Update show() functions to allow plotting both conf and pred simulataneously
- Mention that "test" and "val" are the same transform in the Classify part of the docs.
- To check: file not found error (for metadata.csv) in annotator might be raised incorrectly
- plot_queries_on_map() errors if you set ``add_id=False`` and ids haven't yet been extracted.
- Replace pandas with geopandas wherever possible in MapReader code
- Move worked examples to separate repo
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 mapreader.