-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c0a0247
commit b6fc02f
Showing
7 changed files
with
697 additions
and
81 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,7 +76,7 @@ target/ | |
|
||
# Jupyter Notebook | ||
.ipynb_checkpoints | ||
*.ipynb | ||
#*.ipynb | ||
|
||
# IPython | ||
profile_default/ | ||
|
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
File renamed without changes.
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,21 @@ | ||
import argparse | ||
|
||
from momaapi import MOMA, AnnVisualizer | ||
|
||
|
||
def main(): | ||
parser = argparse.ArgumentParser() | ||
parser.add_argument("-d", "--dir-moma", type=str, default="/media/hdd/moma-lrg") | ||
parser.add_argument("-d", "--dir-vis", type=str, default="/media/hdd/moma-lrg/vis") | ||
args = parser.parse_args() | ||
|
||
moma = MOMA(args.dir_moma) | ||
|
||
visualizer = AnnVisualizer(moma, args.dir_vis) | ||
ids_sact = moma.get_ids_sact() | ||
for id_sact in ids_sact: | ||
visualizer.show_sact(id_sact, vstack=False) | ||
|
||
|
||
if __name__ == "__main__": | ||
main() |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.