Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resnet50 implementation Problem #51

Open
servercalap opened this issue Jun 10, 2020 · 3 comments
Open

Resnet50 implementation Problem #51

servercalap opened this issue Jun 10, 2020 · 3 comments

Comments

@servercalap
Copy link

Hi,
My own dataset for used Resnet50 backbone model. But run train.py by implementation error:
File "/Users/servercalap/tf-retinanet-master/tf_retinanet/bin/../../tf_retinanet/utils/init.py", line 20, in import_package
raise Exception(name + ' is not present in ' + package_type) from e
Exception: tf_retinanet_backbones is not present in tf_retinanet_backbones

Thank you , helping me.

@Jakedismo
Copy link

Read through Readme and install the backbone first https://github.com/fizyr/tf-retinanet-backbones-resnet

@servercalap
Copy link
Author

Thank you @Jakedismo .

@lulmer
Copy link

lulmer commented Jul 6, 2020

Hi,
I get the same error, installing the backbone first didn't solve the problem ...
I am running on colab, here's what I did so far according to the resnet-backbone README and what @Jakedismo said :

!cd tf-retinanet-backbones-resnet-master/
!python setup.py install --user
!cd ..

then
!cd tf-retinanet
!python setup.py install --user
!cd ..

and finally running train.py with the config file given in conf folder :
!python tf_retinanet/bin/train.py --config conf/train.yaml.complete

and I get :

File "tf_retinanet/bin/../../tf_retinanet/utils/__init__.py", line 20, in import_package
  raise Exception(name + ' is not present in ' + package_type) from e
Exception: resnet is not present in tf_retinanet_backbones

Thank you for helping me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants