Commit 74ffca13 authored by Azat Garifullin's avatar Azat Garifullin
Browse files

return query fix in drive_val

parent c5ba01ec
......@@ -27,47 +27,4 @@
"Sensitivity": 0.7523970007896423
}
}
```
## Cite
TBD
## Instructions
Currently two options of running the experiments are available:
1. MVPR GPU server: running with docker
2. Taito GPU server: sh scripts (see Taito section)
### MVPR GPU server (docker)
#### Build and run docker image:
```
./build_image.sh
./run_docker.sh
```
Start working with:
```
sudo docker exec -it mtlret bash
```
Execute in docker bash:
```
python3 code/experiments/experiment.py
```
Results to be appear in mounted volumes (see next section).
Available experiments with the references to the paper are listed in
project structure section.
#### Environment variables
TBD
### Taio
TBD
## Project structure
TBD
```
\ No newline at end of file
......@@ -283,7 +283,7 @@ class DriveValidateTask:
}
def run_in_session(self, query):
self.run(query)
return self.run(query)
def run(self, query):
path = query["res_path"]
......@@ -291,6 +291,8 @@ class DriveValidateTask:
self._run(path, 20, "test", path)
self._run(path, 20, "train", path)
return query
def _run(self, inpath, n_samples, prefix, outpath):
scores = self.load(inpath, n_samples, prefix, outpath)
self.validate_scores(scores, outpath, prefix)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment