xqt commited on
Commit
52fdbff
β€’
1 Parent(s): 71139a9

Fix: Wrong temporary file path while generating output for automatic mask generator

Browse files
Files changed (1) hide show
  1. src/SegmentAnything2Assist.py +1 -1
src/SegmentAnything2Assist.py CHANGED
@@ -192,7 +192,7 @@ class SegmentAnything2Assist:
192
  image,
193
  auto_list
194
  ):
195
- if not os.path.exists("auto_masks.pkl"):
196
  return
197
 
198
  masks = pickle.load(open(".tmp/auto_masks.pkl", "rb"))
 
192
  image,
193
  auto_list
194
  ):
195
+ if not os.path.exists(".tmp/auto_masks.pkl"):
196
  return
197
 
198
  masks = pickle.load(open(".tmp/auto_masks.pkl", "rb"))