ludusc commited on
Commit
7e9d843
1 Parent(s): ec4ccb0

loading correct file

Browse files
data/scores_Blue.csv DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a54439734a2f8f107f6236ad8732ab049639e4d565617cc7f3d89e79d9c29428
3
- size 27620
 
 
 
 
data/scores_Green.csv DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:b276b23fb5c1abb8226e1e0790f7c77509950f1eb2443cab71f154267a4c7c83
3
- size 27491
 
 
 
 
data/scores_InterfaceGAN_H1_8.csv DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:5f9b22fba3e1a4dabf3ab59342536c707f9c55b04c257d1da49c6a6be9bac082
3
- size 919823
 
 
 
 
data/scores_Red.csv DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6ae0e9ee9a907881b19542eb19cd98947b9f3d2a3ccca61f6dd25823a3fb8e82
3
- size 27619
 
 
 
 
data/scores_Saturation.csv DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ac053d8ed3f6514f4ac7b3c4a279aac2889bee02c68acc7d4ad45ccb88bf84c3
3
- size 27564
 
 
 
 
data/scores_StyleSpace_H1_8.csv DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:8bfc5681aa827b2be07cb0ce00eefd6464e2f0836216b884858b5866ffb8aa80
3
- size 360571
 
 
 
 
data/scores_Value.csv DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:3b9251b5089425cbf640894e576ce648011b81b2e2a6a74b35e898984a595efa
3
- size 27516
 
 
 
 
pages/1_Textiles_Disentanglement.py CHANGED
@@ -32,12 +32,12 @@ with open(annotations_file, 'rb') as f:
32
  annotations = pickle.load(f)
33
 
34
  concept_vectors = pd.read_csv('./data/stored_vectors/scores_colors_hsv.csv')
35
- concept_vectors['vector'] = np.array([np.array([float(xx) for xx in x]) for x in concept_vectors['vector'].str.split(', ')])
36
  concept_vectors['score'] = concept_vectors['score'].astype(float)
37
  concept_vectors = concept_vectors.sort_values('score', ascending=False).reset_index()
38
- print(concept_vectors[['vector', 'score']])
39
 
40
- with dnnlib.util.open_url('./data/vase_model_files/network-snapshot-003800.pkl') as f:
41
  model = legacy.load_network_pkl(f)['G_ema'].to('cpu') # type: ignore
42
 
43
  COLORS_LIST = ['Gray', 'Red Orange', 'Yellow', 'Green', 'Light Blue', 'Blue', 'Purple', 'Pink']
 
32
  annotations = pickle.load(f)
33
 
34
  concept_vectors = pd.read_csv('./data/stored_vectors/scores_colors_hsv.csv')
35
+ concept_vectors['vector'] = [np.array([float(xx) for xx in x]) for x in concept_vectors['vector'].str.split(', ')]
36
  concept_vectors['score'] = concept_vectors['score'].astype(float)
37
  concept_vectors = concept_vectors.sort_values('score', ascending=False).reset_index()
38
+ print(concept_vectors[['vector', 'score']], concept_vectors.loc[0, 'vector'], concept_vectors.loc[0, 'vector'].shape)
39
 
40
+ with dnnlib.util.open_url('./data/textile_model_files/network-snapshot-005000.pkl') as f:
41
  model = legacy.load_network_pkl(f)['G_ema'].to('cpu') # type: ignore
42
 
43
  COLORS_LIST = ['Gray', 'Red Orange', 'Yellow', 'Green', 'Light Blue', 'Blue', 'Purple', 'Pink']