Skip to content

Commit

Permalink
affine model
Browse files Browse the repository at this point in the history
  • Loading branch information
laitassou committed Jun 14, 2020
1 parent 27a08eb commit 8adfb19
Show file tree
Hide file tree
Showing 11 changed files with 2 additions and 417 deletions.
Binary file modified model_affine/affine/affine.onnx
Binary file not shown.
Binary file modified model_affine/affine/saved_model.pb
Binary file not shown.
Binary file modified model_affine/affine/variables/variables.data-00000-of-00001
Binary file not shown.
Binary file modified model_affine/affine/variables/variables.index
Binary file not shown.
Binary file added model_affine/model_affine.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions model_affine/model_basic.py → model_affine/model_affine.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@


# Save model to SavedModel format
tf.saved_model.save(model, "./affine/")
tf.saved_model.save(model, "./model_affine/affine/")

yy= [model((np.array([[xi]],np.float32))).numpy()[0,0] for xi in x]

Expand All @@ -48,7 +48,7 @@

plt.show()

#result example y= -0.38 x - 5.9
#y = -0.3388672 x -6.046595

x_in = [0,1]
y_out = model.predict(x_in)
Expand Down
73 changes: 0 additions & 73 deletions models/extract_small_tiles.py

This file was deleted.

Loading

0 comments on commit 8adfb19

Please sign in to comment.