cytomining / cytomining/DeepProfiler
ValueError: Unexpectedly found an instance of type `<class 'keras.src.engine.keras_tensor.KerasTensor'>`. Expected a symbolic tensor instance.
- Dominant language
- Python
- Stars
- 129
- Forks
- 52
- Avg merge
- 5h 20m
- Merged PRs (30d)
- 2
Description
File "/home/boom/Cellprofile/DeepProfiler/plugins/models/efficientnet.py", line 72, in get_model
model = supported_models[num_layers](
File "/home/boom/.conda/envs/boom/lib/python3.11/site-packages/efficientnet/model.py", line 473, in EfficientNetB0
return EfficientNet(
^^^^^^^^^^^^^
File "/home/boom/.conda/envs/boom/lib/python3.11/site-packages/efficientnet/model.py", line 335, in EfficientNet
if not is_keras_tensor(input_tensor):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/boom/.conda/envs/boom/lib/python3.11/site-packages/tensorflow/python/keras/backend.py", line 1248, in is_keras_tensor
raise ValueError('Unexpectedly found an instance of type `' + str(type(x)) +
ValueError: Unexpectedly found an instance of type ``. Expected a symbolic tensor instance
my command is "python3 deepprofiler --root=/home/boom/Cellprofile/project/ --config=cell_painting_cnn_profiling_example.json --exp=cell_painting --gpu=0 profile", can you help me to slove the error?
Contributor guide
Assessment
This issue has not been assessed yet.