-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add pytorch implementation for vggnet
- Loading branch information
1 parent
ab4f9bd
commit c3e3a15
Showing
11 changed files
with
144 additions
and
1,938 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 @@ | ||
results/ |
File renamed without changes.
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
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,7 @@ | ||
import torch | ||
from model import vggnet | ||
from torchsummary import summary | ||
|
||
device = torch.device("cuda" if torch.cuda.is_available() else "cpu") | ||
model = vggnet().to(device) | ||
summary(model, input_size=(16, 24, 24, 24)) |
File renamed without changes.
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 @@ | ||
python main.py ../dataset --multiprocessing-distributed -j 8 --resume model_best.pth.tar --evaluate |
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,2 @@ | ||
#python main.py ../dataset --dist-url 'tcp://chanti00.utep.edu:12356' --world-size 2 --multiprocessing-distributed -j 8 --batch-size 128 --epochs 2 | ||
python main.py ../dataset --multiprocessing-distributed -j 8 --batch-size 128 --epochs 100 |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.