Skip to content

Commit

Permalink
>
Browse files Browse the repository at this point in the history
  • Loading branch information
fregu856 committed Sep 27, 2018
1 parent 128536b commit 8126495
Show file tree
Hide file tree
Showing 12 changed files with 35 additions and 6 deletions.
2 changes: 1 addition & 1 deletion datasets.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# camera-ready
# camera-ready if everything works

import torch
import torch.utils.data
Expand Down
8 changes: 7 additions & 1 deletion eval_on_val.py → evaluation/eval_on_val.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
# camera-ready
# camera-ready if everything works

import sys

sys.path.append("/root/deeplabv3")
from datasets import DatasetVal # (this needs to be imported before torch, because cv2 needs to be imported before torch for some reason)

sys.path.append("/root/deeplabv3/model")
from deeplabv3 import DeepLabV3

sys.path.append("/root/deeplabv3/utils")
from utils import label_img_to_color

import torch
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
# camera-ready
# camera-ready if everything works

import sys

sys.path.append("/root/deeplabv3")
from datasets import DatasetVal # (this needs to be imported before torch, because cv2 needs to be imported before torch for some reason)

sys.path.append("/root/deeplabv3/model")
from deeplabv3 import DeepLabV3

sys.path.append("/root/deeplabv3/utils")
from utils import label_img_to_color

import torch
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 6 additions & 1 deletion train.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# camera-ready
# camera-ready if everything works

import sys

from datasets import DatasetTrain, DatasetVal # (this needs to be imported before torch, because cv2 needs to be imported before torch for some reason)

sys.path.append("/root/deeplabv3/model")
from deeplabv3 import DeepLabV3

sys.path.append("/root/deeplabv3/utils")
from utils import add_weight_decay

import torch
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 7 additions & 1 deletion run_on_seq.py → visualization/run_on_seq.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
# camera-ready
# camera-ready if everything works

import sys

sys.path.append("/root/deeplabv3")
from datasets import DatasetSeq # (this needs to be imported before torch, because cv2 needs to be imported before torch for some reason)

sys.path.append("/root/deeplabv3/model")
from deeplabv3 import DeepLabV3

sys.path.append("/root/deeplabv3/utils")
from utils import label_img_to_color

import torch
Expand Down
8 changes: 7 additions & 1 deletion run_on_thn_seq.py → visualization/run_on_thn_seq.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
# camera-ready
# camera-ready if everything works

import sys

sys.path.append("/root/deeplabv3")
from datasets import DatasetThnSeq # (this needs to be imported before torch, because cv2 needs to be imported before torch for some reason)

sys.path.append("/root/deeplabv3/model")
from deeplabv3 import DeepLabV3

sys.path.append("/root/deeplabv3/utils")
from utils import label_img_to_color

import torch
Expand Down

0 comments on commit 8126495

Please sign in to comment.