error log
Found 2099 files belonging to 7 classes.
Found 447 files belonging to 7 classes.
Found 456 files belonging to 7 classes.
WARNING:tensorflow:Using a while_loop for converting RngReadAndSkip cause there is no registered converter for this op.
[2022-10-01 20:21:42,893][tensorflow][WARNING] - Using a while_loop for converting RngReadAndSkip cause there is no registered converter for this op.
WARNING:tensorflow:Using a while_loop for converting Bitcast cause there is no registered converter for this op.
[2022-10-01 20:21:42,918][tensorflow][WARNING] - Using a while_loop for converting Bitcast cause there is no registered converter for this op.
WARNING:tensorflow:Using a while_loop for converting Bitcast cause there is no registered converter for this op.
[2022-10-01 20:21:42,946][tensorflow][WARNING] - Using a while_loop for converting Bitcast cause there is no registered converter for this op.
WARNING:tensorflow:Using a while_loop for converting StatelessRandomUniformV2 cause there is no registered converter for this op.
[2022-10-01 20:21:42,967][tensorflow][WARNING] - Using a while_loop for converting StatelessRandomUniformV2 cause there is no registered converter for this op.
WARNING:tensorflow:Using a while_loop for converting ImageProjectiveTransformV3 cause there is no registered converter for this op.
[2022-10-01 20:21:43,236][tensorflow][WARNING] - Using a while_loop for converting ImageProjectiveTransformV3 cause there is no registered converter for this op.
WARNING:tensorflow:Using a while_loop for converting RngReadAndSkip cause there is no registered converter for this op.
[2022-10-01 20:21:43,335][tensorflow][WARNING] - Using a while_loop for converting RngReadAndSkip cause there is no registered converter for this op.
WARNING:tensorflow:Using a while_loop for converting Bitcast cause there is no registered converter for this op.
[2022-10-01 20:21:43,359][tensorflow][WARNING] - Using a while_loop for converting Bitcast cause there is no registered converter for this op.
WARNING:tensorflow:Using a while_loop for converting Bitcast cause there is no registered converter for this op.
[2022-10-01 20:21:43,386][tensorflow][WARNING] - Using a while_loop for converting Bitcast cause there is no registered converter for this op.
WARNING:tensorflow:Using a while_loop for converting StatelessRandomUniformV2 cause there is no registered converter for this op.
[2022-10-01 20:21:43,407][tensorflow][WARNING] - Using a while_loop for converting StatelessRandomUniformV2 cause there is no registered converter for this op.
WARNING:tensorflow:Using a while_loop for converting ImageProjectiveTransformV3 cause there is no registered converter for this op.
[2022-10-01 20:21:43,582][tensorflow][WARNING] - Using a while_loop for converting ImageProjectiveTransformV3 cause there is no registered converter for this op.
WARNING:tensorflow:Using a while_loop for converting RngReadAndSkip cause there is no registered converter for this op.
[2022-10-01 20:21:43,746][tensorflow][WARNING] - Using a while_loop for converting RngReadAndSkip cause there is no registered converter for this op.
WARNING:tensorflow:Using a while_loop for converting Bitcast cause there is no registered converter for this op.
[2022-10-01 20:21:43,778][tensorflow][WARNING] - Using a while_loop for converting Bitcast cause there is no registered converter for this op.
WARNING:tensorflow:Using a while_loop for converting Bitcast cause there is no registered converter for this op.
[2022-10-01 20:21:43,812][tensorflow][WARNING] - Using a while_loop for converting Bitcast cause there is no registered converter for this op.
WARNING:tensorflow:Using a while_loop for converting StatelessRandomUniformV2 cause there is no registered converter for this op.
[2022-10-01 20:21:43,845][tensorflow][WARNING] - Using a while_loop for converting StatelessRandomUniformV2 cause there is no registered converter for this op.
WARNING:tensorflow:Using a while_loop for converting ImageProjectiveTransformV3 cause there is no registered converter for this op.
[2022-10-01 20:21:44,127][tensorflow][WARNING] - Using a while_loop for converting ImageProjectiveTransformV3 cause there is no registered converter for this op.
WARNING:tensorflow:Using a while_loop for converting RngReadAndSkip cause there is no registered converter for this op.
[2022-10-01 20:21:44,230][tensorflow][WARNING] - Using a while_loop for converting RngReadAndSkip cause there is no registered converter for this op.
WARNING:tensorflow:Using a while_loop for converting Bitcast cause there is no registered converter for this op.
[2022-10-01 20:21:44,261][tensorflow][WARNING] - Using a while_loop for converting Bitcast cause there is no registered converter for this op.
WARNING:tensorflow:Using a while_loop for converting Bitcast cause there is no registered converter for this op.
[2022-10-01 20:21:44,294][tensorflow][WARNING] - Using a while_loop for converting Bitcast cause there is no registered converter for this op.
WARNING:tensorflow:Using a while_loop for converting StatelessRandomUniformV2 cause there is no registered converter for this op.
[2022-10-01 20:21:44,321][tensorflow][WARNING] - Using a while_loop for converting StatelessRandomUniformV2 cause there is no registered converter for this op.
WARNING:tensorflow:Using a while_loop for converting ImageProjectiveTransformV3 cause there is no registered converter for this op.
[2022-10-01 20:21:44,507][tensorflow][WARNING] - Using a while_loop for converting ImageProjectiveTransformV3 cause there is no registered converter for this op.
WARNING:tensorflow:Using a while_loop for converting RngReadAndSkip cause there is no registered converter for this op.
[2022-10-01 20:21:44,864][tensorflow][WARNING] - Using a while_loop for converting RngReadAndSkip cause there is no registered converter for this op.
WARNING:tensorflow:Using a while_loop for converting Bitcast cause there is no registered converter for this op.
[2022-10-01 20:21:44,888][tensorflow][WARNING] - Using a while_loop for converting Bitcast cause there is no registered converter for this op.
WARNING:tensorflow:Using a while_loop for converting Bitcast cause there is no registered converter for this op.
[2022-10-01 20:21:44,914][tensorflow][WARNING] - Using a while_loop for converting Bitcast cause there is no registered converter for this op.
WARNING:tensorflow:Using a while_loop for converting StatelessRandomUniformV2 cause there is no registered converter for this op.
[2022-10-01 20:21:44,935][tensorflow][WARNING] - Using a while_loop for converting StatelessRandomUniformV2 cause there is no registered converter for this op.
WARNING:tensorflow:Using a while_loop for converting ImageProjectiveTransformV3 cause there is no registered converter for this op.
[2022-10-01 20:21:45,205][tensorflow][WARNING] - Using a while_loop for converting ImageProjectiveTransformV3 cause there is no registered converter for this op.
WARNING:tensorflow:Using a while_loop for converting RngReadAndSkip cause there is no registered converter for this op.
[2022-10-01 20:21:45,303][tensorflow][WARNING] - Using a while_loop for converting RngReadAndSkip cause there is no registered converter for this op.
WARNING:tensorflow:Using a while_loop for converting Bitcast cause there is no registered converter for this op.
[2022-10-01 20:21:45,328][tensorflow][WARNING] - Using a while_loop for converting Bitcast cause there is no registered converter for this op.
WARNING:tensorflow:Using a while_loop for converting Bitcast cause there is no registered converter for this op.
[2022-10-01 20:21:45,358][tensorflow][WARNING] - Using a while_loop for converting Bitcast cause there is no registered converter for this op.
WARNING:tensorflow:Using a while_loop for converting StatelessRandomUniformV2 cause there is no registered converter for this op.
[2022-10-01 20:21:45,382][tensorflow][WARNING] - Using a while_loop for converting StatelessRandomUniformV2 cause there is no registered converter for this op.
WARNING:tensorflow:Using a while_loop for converting ImageProjectiveTransformV3 cause there is no registered converter for this op.
[2022-10-01 20:21:45,556][tensorflow][WARNING] - Using a while_loop for converting ImageProjectiveTransformV3 cause there is no registered converter for this op.
Error executing job with overrides: ['wandb.project=Whats-this-rockv7', 'wandb.mode=offline', 'backbone=convnexttiny', 'trainable=False']
Traceback (most recent call last):
File "/content/Whats-this-rock/src/models/models.py", line 43, in get_backbone
input_shape=(cfg.image_size, cfg.image_size, cfg.image_channels),
File "/usr/local/lib/python3.7/dist-packages/keras/applications/convnext.py", line 591, in ConvNeXtTiny
classifier_activation=classifier_activation,
File "/usr/local/lib/python3.7/dist-packages/keras/applications/convnext.py", line 521, in ConvNeXt
)(x)
File "/usr/local/lib/python3.7/dist-packages/keras/applications/convnext.py", line 287, in apply
)(x)
File "/usr/local/lib/python3.7/dist-packages/keras/utils/traceback_utils.py", line 70, in error_handler
raise e.with_traceback(filtered_tb) from None
File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/framework/op_def_library.py", line 591, in _ExtractInputsAndAttrs
f"{prefix} type "
TypeError: Exception encountered when calling layer "convnext_tiny_stage_0_block_0_layer_scale" (type LayerScale).
Input 'y' of 'Mul' Op has type float32 that does not match type float16 of argument 'x'.
Call arguments received by layer "convnext_tiny_stage_0_block_0_layer_scale" (type LayerScale):
• x=tf.Tensor(shape=(None, 56, 56, 96), dtype=float16)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "src/models/train.py", line 219, in main
model, history = train(cfg, train_dataset, val_dataset, class_weights)
File "src/models/train.py", line 49, in train
model = get_model(cfg)
File "/content/Whats-this-rock/src/models/models.py", line 67, in get_model
base_model = get_backbone(cfg)
File "/content/Whats-this-rock/src/models/models.py", line 46, in get_backbone
raise NotImplementedError("Not implemented for this backbone.")
NotImplementedError: Not implemented for this backbone.