I just found a code from github, and want to test and learn the code. but when I run the code it show up "Failed to convert object of type