ccm commited on
Commit
975132e
·
1 Parent(s): 342ec3a

Lots more code removed

Browse files
Files changed (1) hide show
  1. app.py +12 -12
app.py CHANGED
@@ -8,18 +8,18 @@ from tensorflow.python.framework.ops import disable_eager_execution
8
  # Becuase important
9
  disable_eager_execution()
10
 
11
- # Load the training and testing data
12
- load_data = numpy.load('data/train_test_split_data.npz') # Data saved by the VAE
13
-
14
- # Convert Data to Tuples and Assign to respective variables
15
- box_matrix_train, box_density_train, additional_pixels_train, box_shape_train = tuple(
16
- load_data['box_matrix_train']), tuple(load_data['box_density_train']), tuple(
17
- load_data['additional_pixels_train']), tuple(load_data['box_shape_train'])
18
- box_matrix_test, box_density_test, additional_pixels_test, box_shape_test = tuple(load_data['box_matrix_test']), tuple(
19
- load_data['box_density_test']), tuple(load_data['additional_pixels_test']), tuple(load_data['box_shape_test'])
20
- testX = box_matrix_test # Shows the relationship to the MNIST Dataset vs the Shape Dataset
21
- image_size = numpy.shape(testX)[-1] # Determines the size of the images
22
- test_data = numpy.reshape(testX, (len(testX), image_size, image_size, 1))
23
 
24
  # Creates tuples that contain all of the data generated
25
  # allX = numpy.append(box_matrix_train, box_matrix_test, axis=0)
 
8
  # Becuase important
9
  disable_eager_execution()
10
 
11
+ # # Load the training and testing data
12
+ # load_data = numpy.load('data/train_test_split_data.npz') # Data saved by the VAE
13
+ #
14
+ # # Convert Data to Tuples and Assign to respective variables
15
+ # box_matrix_train, box_density_train, additional_pixels_train, box_shape_train = tuple(
16
+ # load_data['box_matrix_train']), tuple(load_data['box_density_train']), tuple(
17
+ # load_data['additional_pixels_train']), tuple(load_data['box_shape_train'])
18
+ # box_matrix_test, box_density_test, additional_pixels_test, box_shape_test = tuple(load_data['box_matrix_test']), tuple(
19
+ # load_data['box_density_test']), tuple(load_data['additional_pixels_test']), tuple(load_data['box_shape_test'])
20
+ # testX = box_matrix_test # Shows the relationship to the MNIST Dataset vs the Shape Dataset
21
+ # image_size = numpy.shape(testX)[-1] # Determines the size of the images
22
+ # test_data = numpy.reshape(testX, (len(testX), image_size, image_size, 1))
23
 
24
  # Creates tuples that contain all of the data generated
25
  # allX = numpy.append(box_matrix_train, box_matrix_test, axis=0)