-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release' into 'master'
Release 0.4.0 See merge request 3d/PandoraBox/pandora2d!156
- Loading branch information
Showing
144 changed files
with
8,076 additions
and
1,899 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,7 @@ This file keeps track of authors contributions. | |
* Natalia Jimenez <[email protected]> | ||
* Quentin Fardet <[email protected]> | ||
* Jerome Lebreton <[email protected]> | ||
* Tommy Calendini <[email protected]> | ||
|
||
Update here with new contributors. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
data_samples/json_conf_files/a_variable_disparity_pipeline.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"input": { | ||
"left": { | ||
"img": "./maricopa/left.tif", | ||
"nodata": -9999 | ||
}, | ||
"right": { | ||
"img": "./maricopa/right.tif", | ||
"nodata": -9999 | ||
}, | ||
"col_disparity": {"init": "./maricopa/init_col_disparity_grid.tif", "range": 5}, | ||
"row_disparity": {"init": "./maricopa/init_row_disparity_grid.tif", "range": 5} | ||
}, | ||
"pipeline": { | ||
"matching_cost": { | ||
"matching_cost_method": "zncc", | ||
"window_size": 5 | ||
}, | ||
"disparity": { | ||
"disparity_method": "wta", | ||
"invalid_disparity": "NaN" | ||
}, | ||
"refinement": { | ||
"refinement_method": "dichotomy", | ||
"iterations": 2, | ||
"filter": {"method": "bicubic"} | ||
} | ||
} | ||
} | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,7 @@ Userguide | |
userguide/output.rst | ||
userguide/as_an_api.rst | ||
userguide/faq.rst | ||
userguide/expert_mode.rst | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
.. _Expert_mode: | ||
|
||
Expert mode | ||
=========== | ||
|
||
Resume | ||
****** | ||
|
||
The profiling expert mode is intended for users who want to measure the performance of Pandora2D on their personal computer. | ||
In the output folder, they can obtain a number of charts that calculate averages and other metrics for each step throughout the executions. | ||
|
||
How to profile more functions ? | ||
******************************* | ||
|
||
|
||
This option requires the user to be familiar with the pandora2d code. | ||
|
||
First, when they activate the `expert_mode` key in the configuration, they have access by default to performance | ||
information related to each stage of the state machine. | ||
All data is stored in the code in a `pandas.DataFrame` and locally in a CSV file, then presented as a graph in a PDF file. | ||
|
||
If the user wants to analyze the performance of another function, they can add the decorator | ||
`@mem_time_profile_profile(name="Function name")` above that function. | ||
If they want to obtain more metrics, they need to add them to the "metrics_list" in the `profiling.py` file. | ||
|
||
The graphs are handled by the `generate_figure` function. | ||
|
||
.. note:: | ||
Profiling certain functions can significantly increase execution times. | ||
|
||
|
||
|
||
Parameters and configuration : | ||
############################## | ||
|
||
Expert mode profiling section is composed of the following keys: | ||
|
||
OptionalKey("folder_name"): str | ||
|
||
.. list-table:: Expert mode section | ||
:header-rows: 1 | ||
|
||
* - Name | ||
- Description | ||
- Type | ||
- Default value | ||
- Required | ||
* - *folder_name* | ||
- | ||
- str | ||
- | ||
- Yes | ||
|
||
**Example** | ||
|
||
.. code:: json | ||
:name: Input example | ||
{ | ||
"input": | ||
{ | ||
// inputs content | ||
} | ||
, | ||
"pipeline" : | ||
{ | ||
// pipeline content | ||
}, | ||
"expert_mode": | ||
{ | ||
"profiling": | ||
{ | ||
"folder_name": "expert_mode_outputs" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.