Spaces:
Running
Running
Daniel Gil-U Fuhge
commited on
Commit
•
bc86db8
1
Parent(s):
5235398
adjust path limiter
Browse files
src/preprocessing/preprocessing.py
CHANGED
@@ -130,7 +130,7 @@ def compute_embedding(path: str, model_path: str, save: str = None) -> pd.DataFr
|
|
130 |
#print(svg_files)
|
131 |
svg_list = []
|
132 |
for svg_file in svg_files:
|
133 |
-
id = svg_file.split('
|
134 |
# Preprocessing
|
135 |
svg = SVG.load_svg(svg_file)
|
136 |
svg = dataset.simplify(svg)
|
|
|
130 |
#print(svg_files)
|
131 |
svg_list = []
|
132 |
for svg_file in svg_files:
|
133 |
+
id = svg_file.split('/')[1].split('_')[1].split('.')[0]
|
134 |
# Preprocessing
|
135 |
svg = SVG.load_svg(svg_file)
|
136 |
svg = dataset.simplify(svg)
|