Click here to Skip to main content
15,991,072 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have using monai.In that monai version1.4dev2429 i got this error cannot import get_rel_pos_embedding_layer.i do uninstall and install monai and also upgrade the monai version still this import error exists.

What I have tried:

!python -m monai.bundle run --config_file ./zoo_dir/brats_mri_generative_diffusion/configs/inference_autoencoder.json --data_dir "/content/tmp/tmpiacffxnb" --bundle_root "./zoo_dir/brats_mri_generative_diffusion" --device "cpu" -v debug
Posted
Updated 25-Jul-24 0:23am

I just tried a search for get_rel_pos_embedding_layer on the Monai web site and it is not found. See also Index — MONAI 0 Documentation[^].
 
Share this answer
 
The reason you appear not to be able to use get_rel_pos_embedding_layer is because, in doing a search in Monoai, there doesn't appear to be a function with this name.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900