-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes to update the build instructions (#28)
* changes to update the build instructions
- Loading branch information
Showing
6 changed files
with
47 additions
and
17,794 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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
torch==1.13.1 | ||
torchvision==0.14.1 | ||
scipy==1.9.3 | ||
scipy==1.10.0 |
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 |
---|---|---|
@@ -1,14 +1,45 @@ | ||
# Viewer | ||
This viewer should be used for debug purposes. Right now, you can only examine the cost matrix. | ||
This viewer should be used for debug purposes. In the viewer, you can: | ||
* Examine cost matrices that are stored in ".CostMatrix.pb" format. | ||
* Preview images in both sequences. | ||
* OnClick on the cost matrix preview the corresponding image pair. | ||
* Preview the matchign result, stored in ".MatchingResult.pb". | ||
|
||
## Install | ||
Call from `src/viewer`: | ||
Make sure you have installed **npm** and **node** of the correct version. | ||
Use **nvm** to install them. For details, check here https://github.com/nvm-sh/nvm | ||
|
||
`./copy_protos.sh` | ||
`npm install d3 @types/d3 protobufjs` | ||
Install nvm | ||
```bash | ||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash | ||
``` | ||
|
||
Install **node** at curently tested version: | ||
```bash | ||
nvm install 20.9 | ||
``` | ||
|
||
Upgrade **npm** respectively: | ||
```bash | ||
npm update | ||
``` | ||
Check the version: | ||
```bash | ||
npm --version | ||
``` | ||
if you see `10.1.0` you are good to go. | ||
Copy the proto definitions to be able to use them in the viewer. | ||
```bash | ||
./copy_protos.sh | ||
``` | ||
Install all the necessary nodes with proper versions through: | ||
```bash | ||
npm install | ||
``` | ||
|
||
## Use | ||
Call from the terminal and load any `*.CostMatrix.pb` | ||
|
||
`npm run start` | ||
## Use | ||
To run the viewer, call | ||
```bash | ||
npm run start | ||
``` |
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 |
---|---|---|
@@ -1 +1,2 @@ | ||
cp ../localization_protos.proto public/ | ||
cp ../localization_protos.proto public/ | ||
echo "Protos were copied" |
Oops, something went wrong.