̽ÌÖÔõÑù´ÓGitHubÉÏ¿Ë¡´úÂë
×î½üÎÒÃǾ³£Ìýµ½ÅóÙÃÇ̸ÂÛÔÚgithubÉÏÕÒµ½ÁËÓÐȤµÄÏîÄ¿£¬¿ÉÊDz»ÖªµÀ¸ÃÔõÑù¿Ë¡´úÂë¡£github×÷ΪȫÇò×î´óµÄ¿ªÔ´´úÂë¿âÖ®Ò»£¬ÌìÌ춼ÓÐÊýÒÔÍò¼ÆµÄ´úÂ빩¿ª·¢ÕßʹÓá£ÔÚÕâƪÎÄÕÂÖУ¬ÎÒÃǽ«Ì½ÌÖÔõÑù´ÓgithubÉÏ¿Ë¡´úÂ룬ÒÔ¼°ÔõÑù½«ÕâЩ´úÂë¹¹½¨Îª¿ÉÒÔÔËÐеÄÏîÄ¿¡£
µÚÒ»²½£º½¨ÉèÒ»¸öGitHubÕË»§
ÈôÊÇÄ㻹ûÓÐGitHubÕË»§£¬ÄÇôÄãÐèÒªÏȽ¨ÉèÒ»¸ö¡£Ç°ÍùGitHub¹ÙÍø(https://github.com/)£¬²¢µã»÷ÓÒÉϽǵġ°×¢²á¡±°´Å¥¡£Ìîд»ù±¾ÐÅÏ¢²¢¼¤»îÕË»§¼´¿É¡£
µÚ¶þ²½£ºÑ°ÕÒÄã¸ÐÐËȤµÄÏîÄ¿²¢ÔÚGitHubÉÏÕÒµ½Ëü
ÔÚGitHubÊ×Ò³£¬Äú¿ÉÒÔÉó²éÈÈÃŵĿªÔ´ÏîÄ¿£¬²¢Í¨¹ý±êÇ©ËÑË÷Äú¸ÐÐËȤµÄÏîÄ¿¡£Äú¿ÉÒÔÔÚÏîÄ¿Ò³ÃæÖÐÉó²éÓйظÃÏîÄ¿µÄÏêϸÐÅÏ¢£¬²¢ÏàʶÏîÄ¿µÄ×÷Õß¡¢ÔÊÐíÖ¤¡¢Ð¢Ë³Õß¡¢ÎÊÌâµÈÏà¹ØÐÅÏ¢¡£
µÚÈý²½£º¿Ë¡´úÂë
ÔÚÏîÄ¿Ò³ÃæÖУ¬Äú»á¿´µ½ÏîÄ¿µÄGit URL£¬¸´ÖÆËü²¢·¿ªÏÂÁîÐУ¬ÔËÐÐÒÔÏÂÏÂÁ
git clone <git></git>
µÇ¼ºó¸´ÖÆ
ÀýÈ磬ÈôÊÇÄúÏë¿Ë¡PyTorchÏîÄ¿£¬Ôò¿ÉÒÔʹÓÃÒÔÏÂÏÂÁ
git clone https://github.com/pytorch/pytorch.git
µÇ¼ºó¸´ÖÆ
Õ⽫½¨ÉèÒ»¸ö¾ßÓÐPyTorch´úÂëµÄÍâµØ´æ´¢¿â¡£
µÚËIJ½£º¹¹½¨´úÂë
ÔÚ¿Ë¡Íê³Éºó£¬Äú¿ÉÒÔʹÓôúÂë±à¼Æ÷·¿ª¸ÃÏîÄ¿²¢×îÏȹ¹½¨Ëü¡£ÔÚÏîÄ¿µÄREADME.md»òCONTRIBUTING.mdÎļþÖУ¬Äú½«ÕÒµ½ÓйØÏîÄ¿¹¹½¨ºÍÔËÐеÄÏêϸ˵Ã÷¡£
¹ØÓÚPyTorchµÄÀý×Ó£¬¿ÉÒÔʹÓÃÒÔÏÂÏÂÁî¹¹½¨ÏîÄ¿£º
cd pytorch python setup.py install
µÇ¼ºó¸´ÖÆ
Õ⽫ʹÓÃPython¹¹½¨ÏîÄ¿²¢½«Æä×°ÖÃÔÚÄúµÄϵͳÉÏ£¬ÒÔ±ãÄú¿ÉÒÔÔÚPythonÖÐŲÓøÿ⡣
µÚÎå²½£ºÌá½»¸ü¸Ä
ÈôÊÇÄú¶ÔÏîÄ¿×ö³öÁËһЩ¸ü¸Ä²¢ÏëÒªÌá½»ÕâЩ¸ü¸Ä£¬ÄúÐèÒªÖ´ÐÐÒÔÏ°취£º
ÔÚÍâµØÌá½»¸ü¸Ä£º
git add . git commit -m "Your commit message"
µÇ¼ºó¸´ÖÆ
ÍÆËÍÌá½»µ½Ô¶³Ì´æ´¢¿â£º
git push
µÇ¼ºó¸´ÖÆ
Õ⽫Ìá½»ÄúµÄ¸ü¸Ä²¢½«ÆäÍÆË͵½ÏîÄ¿µÄGitHub´æ´¢¿âÖС£
½áÂÛ£º
ͨ¹ý±¾ÎÄ£¬ÎÒÃÇÏàʶÁËÔõÑù´ÓGitHubÉÏ¿Ë¡´úÂë²¢½«Æä¹¹½¨ÎªÒ»¸ö¿ÉÒÔÔËÐеÄÏîÄ¿¡£Òª¿Ë¡´úÂ룬ֻÐ踴ÖÆGit URL²¢ÔÚÏÂÁîÐÐÖÐʹÓÃgit cloneÏÂÁî¼´¿É¡£È»ºó£¬Çëƾ֤ÏîÄ¿µÄ˵Ã÷¾ÙÐй¹½¨ºÍÔËÐУ¬¾ÍÏñÎÒÃÇÔÚPyTorchµÄÀý×ÓÖÐËù×öµÄÄÇÑù¡£Í¨¹ýÕâÖÖ·½·¨£¬ÎÒÃÇ¿ÉÒÔÇáËɵػñµÃ¶Ô¿ªÔ´ÏîÄ¿µÄ»á¼û£¬²¢¼ÓÈëµ½ÓÐȤµÄÏîÄ¿ÖС£
ÒÔÉϾÍÊÇ̽ÌÖÔõÑù´ÓGitHubÉÏ¿Ë¡´úÂëµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡