Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CLIP
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Saswat
CLIP
Commits
707b1b18
Commit
707b1b18
authored
Nov 27, 2022
by
Saswat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix gui.py
parent
fdb0f7ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
config.py
config.py
+1
-1
gui.py
gui.py
+2
-2
No files found.
config.py
View file @
707b1b18
import
torch
class
CFG
:
debug
=
Tru
e
debug
=
Fals
e
seed
=
42
# Paths
...
...
gui.py
View file @
707b1b18
...
...
@@ -3,11 +3,11 @@ import matplotlib.pyplot as plt
from
matplotlib.backends.backend_tkagg
import
FigureCanvasTkAgg
from
tkinter.ttk
import
*
from
infer
import
find_matches
from
data
import
make
_train_valid_dfs
from
data
import
gen
_train_valid_dfs
from
infer
import
*
from
config
import
CFG
_
,
valid_df
=
make
_train_valid_dfs
()
_
,
valid_df
=
gen
_train_valid_dfs
()
model
=
get_image_embeddings
(
valid_df
,
CFG
.
model_path
)
plot
=
None
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment