Comments (5)
Hi @batzner! Were you able to resolve this?
from uncertainty-baselines.
Unfortunately, I was not able to resolve this. I saw in GitHub issues in other repos that people who got the same error message were able to resolve it by specifying synchronization=tf.VariableSynchronization.ON_READ
in the self.add_weight(...)
call (see below).
But I am not sure whether the on-read-synchronization is the correct behavior in this case.
self.precision_matrix = (
self.add_weight(
name='gp_precision_matrix',
shape=(gp_feature_dim, gp_feature_dim),
dtype=self.dtype,
initializer=tf.keras.initializers.Identity(self.ridge_penalty),
trainable=False,
aggregation=tf.VariableAggregation.ONLY_FIRST_REPLICA))
from uncertainty-baselines.
Hey! Sorry for the delay.
What was the command you were using to run the code, and what was the GPU/version of CUDA/version of TF? Also, have you been able to reproduce this at the current HEAD?
from uncertainty-baselines.
I get the exact same error. Fresh install (nightly version of tf - 9/7/21), CUDA 11.2.
from uncertainty-baselines.
I also get this error with TF 2.7
from uncertainty-baselines.
Related Issues (20)
- Question: a good strategy to estimate covariance matrix for SNGP when there are no clear "epochs" HOT 1
- Implement eval_model.py script using a Pytorch ResNet-50 MC Dropout trained model - Diabetic Retinopathy Detection
- Question: SNGP initialization of random features HOT 2
- Question about SNGP BERT flags HOT 2
- input_utils to importing in Colab notebook
- plex_vit_demo : Failed to get url-imagenetv2public
- tensorflow_federated no attribute 'Popen' error
- [Feature Request] Pluggable Metrics&HG integration HOT 1
- Unsupported data type for TPU String HOT 3
- Where is keras_tokenizer.json supposed to come from for clinc_intent.py?
- Question about SNGP differences from the paper HOT 1
- Pretrained models or logits of these (Recalibration)
- mixup hyperparameters
- Remove need for registration mechanisms?
- bert_dropout_test is failing
- Clean up reliance on local utility files in the JFT directory
- Example code for computing Mahalanobis score in TF-2 HOT 4
- question on kl rescaling! HOT 1
- feature- baselines for vision tasks
- SNGP inference speed
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 uncertainty-baselines.