Open nadzhou opened 3 years ago
Please try the version MusiteDeep_Keras2.0 it is compatible with python3. This version also compatible with python 3 just change some print xxx into print(xxx) it should work.
@duolinwang yeah. I'm thinking of doing it myself. there are some library differences.
Hi @nadzhou and @duolinwang. Is there a version that currently supports Python 3? I see that code in the MusiteDeep_Keras2.0
directory in this repository still contains python 2 print statements. Thanks!
It actually works for python 3 if the python 2 print statements are changed into python 3 style. I did experiments using python 3 in other systems, just changed the print statements. I just forgot to update the codes.
Best, Duolin
在 2021年2月24日,10:01,David Příhoda notifications@github.com 写道:
WARNING: This message has originated from an External Source. This may be a phishing expedition that can result in unauthorized access to our IT System. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email.
Hi @nadzhouhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnadzhou&data=04%7C01%7C%7Ca7e8c238664e468d540f08d8d8dd6fe8%7Ce3fefdbef7e9401ba51a355e01b05a89%7C0%7C0%7C637497792860705788%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=PiyvFHfCP8PK6S0CInlUYMM5KpMciJ3JUCWxo3VYry8%3D&reserved=0 and @duolinwanghttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fduolinwang&data=04%7C01%7C%7Ca7e8c238664e468d540f08d8d8dd6fe8%7Ce3fefdbef7e9401ba51a355e01b05a89%7C0%7C0%7C637497792860705788%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=TC3tYMHG2KmkV%2FHKIGqf3JHBzS3y%2B0RJ6i9dd%2BzwXxw%3D&reserved=0. Is there a version that currently supports Python 3? I see that code in the MusiteDeep_Keras2.0 directory in this repository still contains python 2 print statements. Thanks!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fduolinwang%2FMusiteDeep%2Fissues%2F8%23issuecomment-785179851&data=04%7C01%7C%7Ca7e8c238664e468d540f08d8d8dd6fe8%7Ce3fefdbef7e9401ba51a355e01b05a89%7C0%7C0%7C637497792860715754%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=d6YcfhoSLk%2FVqYGc1YdDDGukEfLKoYuGSJTuvrqt220%3D&reserved=0, or unsubscribehttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAC4DW7FEXHZKWNKQYCWJHI3TAUPCNANCNFSM4W3EQ7FA&data=04%7C01%7C%7Ca7e8c238664e468d540f08d8d8dd6fe8%7Ce3fefdbef7e9401ba51a355e01b05a89%7C0%7C0%7C637497792860715754%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=sDuNxpsYu9N1fw2fe2uRZKV5o%2FXM59CsohABJwhqABk%3D&reserved=0.
The code is valuable we will need to shift it to Python 3 to make it compatible with the latest libraries in tensorflow.