Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
rmac
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Black, Alex Dr (PG/R - Comp Sci & Elec Eng)
rmac
Commits
ec2d54f6
Commit
ec2d54f6
authored
4 years ago
by
yohann.cabon
Browse files
Options
Downloads
Patches
Plain Diff
updated readme
parent
9efccc99
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+28
-0
28 additions, 0 deletions
README.md
with
28 additions
and
0 deletions
README.md
+
28
−
0
View file @
ec2d54f6
...
...
@@ -160,6 +160,34 @@ Each row of the text file should contain a single path to a given image:
Alternatively, you can also use relative paths, and use
`IMAGES_ROOT`
to specify the root folder.
## Feature extraction with kapture datasets
Kapture is a pivot file format, based on text and binary files, used to describe SFM (Structure From Motion) and more generally sensor-acquired data.
It is available at https://github.com/naver/kapture.
It contains conversion tools for popular formats and several popular datasets are directly available in kapture.
It can be installed with:
```
bash
pip
install
kapture
```
Datasets can be downloaded with:
```
bash
kapture_download_dataset.py update
kapture_download_dataset.py list
# e.g.: install mapping and query of Extended-CMU-Seasons_slice22
kapture_download_dataset.py
install
"Extended-CMU-Seasons_slice22_*"
```
If you want to convert your own dataset into kapture, please find some examples
[
here
](
https://github.com/naver/kapture/blob/master/doc/datasets.adoc
)
.
Once installed, you can extract global features for your kapture dataset with:
```
bash
cd
$DIR_ROOT
python dirtorch/extract_kapture.py
--kapture-root
pathto/yourkapturedataset
--checkpoint
dirtorch/data/Resnet101-AP-GeM-LM18.pt
--gpu
0
```
Run
`python dirtorch/extract_kapture.py --help`
for more information on the extraction parameters.
## Citations
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment