Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Cresson Remi
LSGRM
Commits
dfa27051
Commit
dfa27051
authored
Dec 11, 2018
by
Gaetano Raffaele
Browse files
Working on the resume option to resume segmentation after fail or abort.
parent
0e5e5113
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/lsgrmGraphOperations.txx
View file @
dfa27051
...
...
@@ -158,6 +158,10 @@ long long unsigned int RunPartialSegmentation(const typename TSegmenter::ParamTy
if (MyTurn(row*nbTilesX + col))
#endif
{
// Get the current tile
std::cout << "Processing tile " << row << ", " << col << std::endl;
ProcessingTile currentTile = tiles[row*nbTilesX + col];
// If resume mode, get accumulated memory on previous tiles
if (resume && (row*nbTilesX+col) < (rRow*nbTilesX+rCol) ) {
// Load the graph
...
...
@@ -170,10 +174,6 @@ long long unsigned int RunPartialSegmentation(const typename TSegmenter::ParamTy
continue;
}
// Get the current tile
std::cout << "Processing tile " << row << ", " << col << std::endl;
ProcessingTile currentTile = tiles[row*nbTilesX + col];
// Load the graph
std::cout << "\tLoad graph..." << std::endl;
TSegmenter segmenter;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment