Comments (7)
Regarding the text file, there are three options:
- The solution you proposed;
- Write a separate text file for each tree;
- Write a tree after another in the text file, separated via a newline:
elem_attributes1
elem_attributes2
elem_attributes3
elem_attributes1
elem_attributes2
elem_attributes4
elem_attributes5
The name of the screenshot can either be: WEBCOMPATID_lineNumberOfStep1_lineNumberOfStep2_lineNumberOfStep3_..._browser.png
or:
WEBCOMPATID_treeNumber_stepNumberInTree_browser.png
Feel free to choose the solution you prefer, whatever you find simpler between these.
Note that #62 will probably land before the PR fixing this, so you have to take into account that code too.
from autowebcompat.
does it mean that we have to interact with all elements which are present in the website and get rid of the usage of random.shuffle() from collect.py?
from autowebcompat.
Yes, probably a depth-first search with a limit on the number of nodes (and instead of backtracking, restart from the beginning).
from autowebcompat.
@marco-c I want to work on this issue! What should be the maximum level?
from autowebcompat.
Currently it's 7, let's see if that works for this new approach too. Ideally define it in a global variable at the beginning of collect.py (e.g. MAX_INTERACTION_DEPTH = 7
).
from autowebcompat.
@marco-c I started working on this issue.
According to the naming convention that is being followed it won't be possible to implement the given idea.
Also the text file
generated will have to be changed accordingly for a given bug
.
Any naming convention you would prefer? For the text file
I was thinking to make it like a tree.
Something like this.
elem_attributes:
elem_attributes:
elem_attributes:
elem_attributes:
elem_attributes:
elem_attributes:
elem_attributes:
elem_attributes:
elem_attributes:
And naming convention for images to be of type WEBCOMPATID_lineNumberOfStep1_lineNumberOfStep2_lineNumberOfStep3_....._browser.png
where lineNumber
is the line number in the text file.
from autowebcompat.
Reopened as we need to have a script to migrate the old data to the new naming scheme.
from autowebcompat.
Related Issues (20)
- Sort labels when saving them
- test_labels should validate all labels files
- test_labels.py is not actually testing the screenshots actually exist HOT 3
- Limit size of full page screenshot HOT 4
- Script to rename images and labels according to new convention
- Implementing Object Segmentation networks for bounding box annotations HOT 1
- Throw a meaningful error in utils.read_labels when labels.csv is empty HOT 2
- Running pretrain.py gives FileNotFoundError. HOT 4
- Try training a neural network using the responses from a DOM-based tool as features
- Try using the responses from a DOM-based tool as additional features
- Create a web-based tool to show predicted differences HOT 2
- Move the labeling tool to be web-based
- Use multiple releases of each browser
- Try using mdn/browser-compat-data to automatically label screenshot pairs
- Investigate training a model to detect regressions in a browser
- When prefilling an issue on webcompat.com, prefill as much as possible
- Add possibility to navigate to websites on demand
- Use Docker to run browsers and collect screenshots
- Train a baseline classifier HOT 12
- Out of memory error while training vgg16 and vgg19 with imagenet weights on Colab
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 autowebcompat.