-
Notifications
You must be signed in to change notification settings - Fork 427
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/WangYueFt/dgcnn
- Loading branch information
Showing
1 changed file
with
39 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
## Run part segmentation experiments | ||
|
||
### Requirements | ||
|
||
2 GPUs (each with 12 GB memory) for distributed training. | ||
|
||
### Data preparation | ||
|
||
Load the data for part segmentation. | ||
|
||
``` | ||
sh +x download_data.sh | ||
``` | ||
|
||
### Training | ||
|
||
Train the model using 2 GPUs. | ||
|
||
``` | ||
python train_multi_gpu.py | ||
``` | ||
|
||
Model parameters are saved every 10 epochs in "train_results/trained_models/". | ||
|
||
### Testing | ||
|
||
To test the model parameter set saved after epoch n, | ||
|
||
``` | ||
python test.py --model_path train_results/trained_models/epoch_n.ckpt | ||
``` | ||
|
||
n = 0, 10, 20, ..., 190, 200. | ||
|
||
For example, if we want to test the model saved after 160 epochs, | ||
|
||
``` | ||
python test.py --model_path train_results/trained_models/epoch_160.ckpt | ||
``` |