mirror of
https://github.com/sbrl/research-rainfallradar
synced 2024-11-25 10:32:59 +00:00
cheese: set label for everything to 1
This commit is contained in:
parent
b31645bd5d
commit
fcab227f6a
1 changed files with 2 additions and 2 deletions
|
@ -27,9 +27,9 @@ def vis_embeddings(filepath_output, features):
|
|||
|
||||
# 2: Parallel coordinates
|
||||
figure.add_subplot(1, 2, 2)
|
||||
# CHEESE: This won't produce a terribly accurate result, as we're just ignoring the most of CLIP's embedded features.
|
||||
dataframe = pandas.DataFrame(features)
|
||||
dataframe["Label"] = range(len(features))
|
||||
dataframe["Label"] = [1] * len(features)
|
||||
# dataframe["Label"] = range(len(features)) # used when we actually have labels. In this case we don't though
|
||||
pandas.plotting.parallel_coordinates(
|
||||
dataframe,
|
||||
"Label",
|
||||
|
|
Loading…
Reference in a new issue