Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
yinbow committed Dec 9, 2022
1 parent 3150da8 commit 7f5b855
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def train(Dataset, parser):
path=_TESTDATASET_+'/'+path
t = Valid(dataset, path, epoch, 'CamoFormer','output/checkpoint/CamoFormer/CamoFormer/' )
t.save()
os.system('bash evaltools/valid_eval.sh '+'output/Prediction/CamoFormer-epoch'+str(epoch+1)+' '+_TESTDATASET_)
os.system('bash evaltools/valid_eval.sh '+'output/Prediction/CamoFormer-epoch'+str(epoch+1)+' '+_TESTDATASET_+' CamoFormer'+str(epoch+1))

def test(dataset,parser):
args = parser.parse_args()
Expand Down
2 changes: 1 addition & 1 deletion test_eval.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
python main.py \
--ckpt 'checkpoint/CamoFormer56'\
--ckpt 'checkpoint/CamoFormer-trained'\
--mode 'test'

python evaltools/eval.py \
Expand Down

0 comments on commit 7f5b855

Please sign in to comment.