Comments (6)
Dear Javier
Thank you very much for your interest in DeepSphere for TF 2.x
I was able to reproduce the error regarding model.save
, I think that there was an issue with the subclassing. However, I did not manage to reproduce the same error with model.save_weights
.
Anyway, I pushed a potential fix, can you check if a8211be fixed your issue?
Best,
Janis
from deepsphere-cosmo-tf2.
It works now!! I have tested this new version with model.save
, model.save_weights
along with model.load
&model.load_weights
, and everything seems to be working. Thank you very much @jafluri for your support.
Best,
Javier
from deepsphere-cosmo-tf2.
Hello Janis,
Thank you for your quick reply. Unfortunately, I'm still having a similar error:
10/10 [==============================] - ETA: 0s - loss: 1.1198 - sparse_categorical_accuracy: 0.6933
Epoch 1: val_loss improved from inf to 0.69315, saving model to my_model/cp-0001.ckpt
/usr/local/lib/python3.7/dist-packages/keras/utils/traceback_utils.py in error_handler(*args, **kwargs)
65 except Exception as e: # pylint: disable=broad-except
66 filtered_tb = _process_traceback_frames(e.traceback)
---> 67 raise e.with_traceback(filtered_tb) from None
68 finally:
69 del filtered_tb
/usr/lib/python3.7/contextlib.py in exit(self, type, value, traceback)
117 if type is None:
118 try:
--> 119 next(self.gen)
120 except StopIteration:
121 return False
TypeError: chebyshev_layer_call_and_return_conditional_losses(input_tensor, training) got two values for 'training'.
In the case of using model.save_weights
, I've got the error when loading: model.load_weights(latest)
. I am running in a local conda env. and Google-colab, but in both environments I got the same error.
from deepsphere-cosmo-tf2.
I see, thanks for the report.
Which version of TensorFlow are you running?
from deepsphere-cosmo-tf2.
Anyway, I tried something new in 555e28e, let me know if it worked.
from deepsphere-cosmo-tf2.
I see, thanks for the report.
Which version of TensorFlow are you running?
TF. 2.8.0
from deepsphere-cosmo-tf2.
Related Issues (8)
- TPU support HOT 2
- Speedup by removing loops from Chebyshev polynomail computation HOT 4
- Regarding the Autoencoder model HOT 9
- ValueError: All layers added to a Sequential model should have unique names. HOT 2
- I have one question about pytest tests and notebook, HOT 4
- Installation issue HOT 10
- Conda install deeps-here HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deepsphere-cosmo-tf2.