Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Image segmentation demo is not working in ProMax 12 simulator. #110

@iPsych

Description

@iPsych

The app compiled properly, but when press 'segment', below error and crashes.

libc++abi.dylib: terminating with uncaught exception of type c10::Error: isTuple()INTERNAL ASSERT FAILED at "/Users/distiller/project/aten/src/ATen/core/ivalue_inl.h":1400, please report a bug to PyTorch. Expected Tuple but got String
Exception raised from toTuple at /Users/distiller/project/aten/src/ATen/core/ivalue_inl.h:1400 (most recent call first):
frame #0: _ZN3c105ErrorC1ENS_14SourceLocationENSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 75 (0x10aef4113 in ImageSegmentation)
frame #1: _ZN3c106detail14torchCheckFailEPKcS2_jRKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE + 106 (0x10aef2cf5 in ImageSegmentation)
frame #2: _ZN3c106detail23torchInternalAssertFailEPKcS2_jS2_RKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE + 63 (0x10aef2e97 in ImageSegmentation)
frame #3: _ZNKR3c106IValue7toTupleEv + 135 (0x109994307 in ImageSegmentation)
frame #4: _ZN5torch3jit28ConcreteSourceRangeUnpickler8unpickleEv + 368 (0x10ac2c4ac in ImageSegmentation)
frame #5: _ZN5torch3jit28ConcreteSourceRangeUnpickler28findSourceRangeThatGeneratedERKNS0_11SourceRangeE + 27 (0x10ac2c78d in ImageSegmentation)
frame #6: ZNK5torch3jit11SourceRange9highlightERNSt3__113basic_ostreamIcNS2_11char_traitsIcEEEE + 53 (0x1099e65c5 in ImageSegmentation)
frame #7: ZNK5torch3jit11ErrorReport4whatEv + 320 (0x1099d2138 in ImageSegmentation)
frame #8: -[TorchModule + + (0x10ae8d525 in ImageSegmentation)
frame #9: $sSo11TorchModuleC10fileAtPathABSgSS_tcfcTO + 44 (0x10ae9ba5c in ImageSegmentation)
frame #10: $sSo11TorchModuleC10fileAtPathABSgSS_tcfC + 50 (0x10ae9ba22 in ImageSegmentation)
frame #11: $s17ImageSegmentation14ViewControllerC6module33_FBCB8EDF0C0E0F8ABFB0887BEEC9D7FCLLSo11TorchModuleCvgAGyXEfU
+ 540 (0x10ae9b91c in ImageSegmentation)
frame #12: $s17ImageSegmentation14ViewControllerC6module33_FBCB8EDF0C0E0F8ABFB0887BEEC9D7FCLLSo11TorchModuleCvg + 222 (0x10ae98a5e in ImageSegmentation)
frame #13: $s17ImageSegmentation14ViewControllerC7doInferyyypFyycfU
+ 288 (0x10ae99ab0 in ImageSegmentation)
frame #14: $sIeg_IeyB_TR + 48 (0x10ae9a5d0 in ImageSegmentation)
frame #15: _dispatch_call_block_and_release + 12 (0x10f2b87ec in libdispatch.dylib)
frame #16: _dispatch_client_callout + 8 (0x10f2b99c8 in libdispatch.dylib)
frame #17: _dispatch_queue_override_invoke + 1032 (0x10f2bbe46 in libdispatch.dylib)
frame #18: _dispatch_root_queue_drain + 351 (0x10f2cb508 in libdispatch.dylib)
frame #19: _dispatch_worker_thread2 + 135 (0x10f2cbe6d in libdispatch.dylib)
frame #20: _pthread_wqthread + 220 (0x10f7689f7 in libsystem_pthread.dylib)
frame #21: start_wqthread + 15 (0x10f767b77 in libsystem_pthread.dylib)

terminating with uncaught exception of type c10::Error: isTuple()INTERNAL ASSERT FAILED at "/Users/distiller/project/aten/src/ATen/core/ivalue_inl.h":1400, please report a bug to PyTorch. Expected Tuple but got String
Exception raised from toTuple at /Users/distiller/project/aten/src/ATen/core/ivalue_inl.h:1400 (most recent call first):
frame #0: _ZN3c105ErrorC1ENS_14SourceLocationENSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE + 75 (0x10aef4113 in ImageSegmentation)
frame #1: _ZN3c106detail14torchCheckFailEPKcS2_jRKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE + 106 (0x10aef2cf5 in ImageSegmentation)
frame #2: _ZN3c106detail23torchInternalAssertFailEPKcS2_jS2_RKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE + 63 (0x10aef2e97 in ImageSegmentation)
frame #3: _ZNKR3c106IValue7toTupleEv + 135 (0x109994307 in ImageSegmentation)
frame #4: _ZN5torch3jit28ConcreteSourceRangeUnpickler8unpickleEv + 368 (0x10ac2c4ac in ImageSegmentation)
frame #5: _ZN5torch3jit28ConcreteSourceRangeUnpickler28findSourceRangeThatGeneratedERKNS0_11SourceRangeE + 27 (0x10ac2c78d in ImageSegmentation)
frame #6: ZNK5torch3jit11SourceRange9highlightERNSt3__113basic_ostreamIcNS2_11char_traitsIcEEEE + 53 (0x1099e65c5 in ImageSegmentation)
frame #7: ZNK5torch3jit11ErrorReport4whatEv + 320 (0x1099d2138 in ImageSegmentation)
frame #8: -[TorchModule + + (0x10ae8d525 in ImageSegmentation)
frame #9: $sSo11TorchModuleC10fileAtPathABSgSS_tcfcTO + 44 (0x10ae9ba5c in ImageSegmentation)
frame #10: $sSo11TorchModuleC10fileAtPathABSgSS_tcfC + 50 (0x10ae9ba22 in ImageSegmentation)
frame #11: $s17ImageSegmentation14ViewControllerC6module33_FBCB8EDF0C0E0F8ABFB0887BEEC9D7FCLLSo11TorchModuleCvgAGyXEfU
+ 540 (0x10ae9b91c in ImageSegmentation)
frame #12: $s17ImageSegmentation14ViewControllerC6module33_FBCB8EDF0C0E0F8ABFB0887BEEC9D7FCLLSo11TorchModuleCvg + 222 (0x10ae98a5e in ImageSegmentation)
frame #13: $s17ImageSegmentation14ViewControllerC7doInferyyypFyycfU
+ 288 (0x10ae99ab0 in ImageSegmentation)
frame #14: $sIeg_IeyB_TR + 48 (0x10ae9a5d0 in ImageSegmentation)
frame #15: _dispatch_call_block_and_release + 12 (0x10f2b87ec in libdispatch.dylib)
frame #16: _dispatch_client_callout + 8 (0x10f2b99c8 in libdispatch.dylib)
frame #17: _dispatch_queue_override_invoke + 1032 (0x10f2bbe46 in libdispatch.dylib)
frame #18: _dispatch_root_queue_drain + 351 (0x10f2cb508 in libdispatch.dylib)
frame #19: _dispatch_worker_thread2 + 135 (0x10f2cbe6d in libdispatch.dylib)
frame #20: _pthread_wqthread + 220 (0x10f7689f7 in libsystem_pthread.dylib)
frame #21: start_wqthread + 15 (0x10f767b77 in libsystem_pthread.dylib)
CoreSimulator 732.18.6 - Device: iPhone 12 Pro Max (0032164F-A26D-44C2-9F39-C7417C3E8F86) - Runtime: iOS 14.4 (18D46) - DeviceType: iPhone 12 Pro Max
(lldb)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions