Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhuLvs authored Aug 28, 2024
1 parent 2dc052d commit 25639a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion model/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import torch.optim as optim
from torch.utils.tensorboard import SummaryWriter
from model import CustomDeepLabV3
#from feature_fusion_model import CustomDeepLabV3
from Dataset import CustomDataset, transform, val_transform
from Maskloss import MaskedL1Loss
from Inference import train_one_epoch, evaluate
Expand Down Expand Up @@ -45,4 +46,4 @@


writer.close()
torch.save(model.state_dict(), final_model_save_path)
torch.save(model.state_dict(), final_model_save_path)

0 comments on commit 25639a4

Please sign in to comment.