mirror of
https://github.com/xuebinqin/DIS.git
synced 2024-11-26 08:43:17 +01:00
Update Inference.py
This commit is contained in:
parent
d88f41fe51
commit
fdb5f91ad1
@ -17,9 +17,9 @@ from models import *
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
dataset_path="../datasets/demo_dataset" #Your dataset path
|
dataset_path="../demo_datasets/your_dataset" #Your dataset path
|
||||||
model_path="../saved_models/isnet.pth" #Your model path
|
model_path="../saved_models/IS-Net/isnet-general-use.pth" # the model path
|
||||||
result_path="../datasets/demo_result" #The folder path that you want to save the results
|
result_path="../demo_datasets/your_dataset_result" #The folder path that you want to save the results
|
||||||
input_size=[1024,1024]
|
input_size=[1024,1024]
|
||||||
net=ISNetDIS()
|
net=ISNetDIS()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user