-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.txt
51 lines (31 loc) · 1.87 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# EF-Net: End-to-End Friction Estimation Using Intrinsic Imaging and Deep Networks
Submitted by - Sarvesh, Abhinav and Rupesh
This is the code system file for running our end-to-end friction implementation on your system and testing out the results
## Preparing the dataset folder
```
Download ml-dms dataset from https://github.com/apple/ml-dms-dataset
Download the corresponding images by following https://github.com/JunweiZheng93/MATERobot/
Download VAST dataset from https://github.com/RIVeR-Lab/vast_data/
```
## Checkpoints can be downloaded from -- [https://drive.google.com/drive/folders/1OUrhzb3kesxPONCfVrQcIYcmYhSZ9V2l?usp=drive_link](https://drive.google.com/drive/folders/1OUrhzb3kesxPONCfVrQcIYcmYhSZ9V2l?usp=drive_link)
Once the data folder is populated with dataset, execute
```
cd utils
python3 generate_csv_dms.py
python3 generate_csv_vast.py
```
### Testing the scripts
Checkpoints are in `checkpoints` folder and can be used to visualize the results.
`python3 test.py #runs all the models and plots the results`
### Finetuning / Training
`python3 train.py --model [endtoend | unet_reg | unet_seg | srcnn] --epochs num_epochs --batch_size batch_size`
Example
`python3 train.py --model endtoend --epochs 10 --batch_size 100`
*Note due to preprocessing in VAST dataset it may be possible that some datapoints are dropped, it is highly recommended to use a larger batch size (greater than 100).*
### Operating system used - Ubuntu 20.04
### GPU used - Nvidia RTX3090TI and Nvidia RTX4090TI
## The deadline was 13th, we submitted it yesterday, since deadline was changed we did major restructuring in the report. If that's allowed we'd like to use 1 time travel day, thanks!
## Thanks to
* https://github.com/JunweiZheng93/MATERobot/ -- for DMS Downloader
* https://github.com/RIVeR-Lab/vast_data/ -- VAST dataset
* https://github.com/apple/ml-dms-dataset -- ml-dms dataset