-
from init import Options os.environ['CUDA_VISIBLE_DEVICES'] = '0' def main():
if name == "main": I have tried several methods in the tutorial, but they have failed with same KeyError |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
thanks for reporting, could you try removing |
Beta Was this translation helpful? Give feedback.
thanks for reporting, could you try removing
ToTensord
as well as, meta_data[0]
in save image calls, if it's based on monai 0.9.1. Which tutorial are you referring to? it might need some update to use the latest API.