Skip to content

"tuple" object has no attribute "name" #2

@dgsbicak

Description

@dgsbicak

Hi,

This is the run command:

python3 main.py --mode=train_and_eval \
    --training_file_pattern=train.record \
    --validation_file_pattern=train.record \
    --model_name=efficientdet-d0 \
    --model_dir=/home/dbicak/models  \
    --backbone_ckpt=/home/dbicak/models/efficientnet-b0  \
    --train_batch_size=8 \
    --eval_batch_size=8 --eval_samples=512 \
    --num_examples_per_epoch=512 --num_epochs=1  \
    --hparams="use_bfloat16=false,num_classes=4,moving_average_decay=0" \
    --use_tpu=False

This warning shows up during loading for training:

INFO:tensorflow:Saving checkpoints for 0 into /home/dbicak/models/model.ckpt.
I1013 20:31:51.425059 139960744011584 basic_session_run_hooks.py:606] Saving checkpoints for 0 into /home/dbicak/models/model.ckpt.
WARNING:tensorflow:Issue encountered when serializing edsummaries.
Type is unsupported, or the types of the items don't match field type in CollectionDef. Note this is a warning and probably safe to ignore.
'tuple' object has no attribute 'name'
W1013 20:31:53.418377 139960744011584 meta_graph.py:449] Issue encountered when serializing edsummaries.
Type is unsupported, or the types of the items don't match field type in CollectionDef. Note this is a warning and probably safe to ignore.
'tuple' object has no attribute 'name'

Why do I get "'tuple' object has no attribute 'name'" error?
How can I fix this?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions