Giter Site home page Giter Site logo

CS1003 Syntax error, ',' expected TensorSharp D:\Seq2SeqSharp-master (1)\Seq2SeqSharp-master\TensorSharp\Cpu\CpuRandom.cs about seq2seqsharp HOT 5 CLOSED

zhongkaifu avatar zhongkaifu commented on May 19, 2024
CS1003 Syntax error, ',' expected TensorSharp D:\Seq2SeqSharp-master (1)\Seq2SeqSharp-master\TensorSharp\Cpu\CpuRandom.cs

from seq2seqsharp.

Comments (5)

zhongkaifu avatar zhongkaifu commented on May 19, 2024

How did you run Seq2SeqSharp ? Can you please share command line (config file), sample of training corpus with me ? I can take a look.

from seq2seqsharp.

My-Khan avatar My-Khan commented on May 19, 2024

Many Zhong Kai for considering my issue here is my command-line arguments and some images
Train -WordVectorSize 512 -HiddenSize 512 -LearningRate 0.001 -ModelFilePath seq2seq.model
-TrainCorpusPath D:\Seq2SeqSharp-master (1)\Demo Data\1Train.txt -ValidCorpusPath D:\Seq2SeqSharp-master (1)\Demo Data\1valid.txt
-SrcLang ENU -TgtLang CHS -BatchSize 256 -ProcessorType CPU -EncoderType BiLSTM
-EncoderLayerDepth 6 -DecoderLayerDepth 2 -MultiHeadNum 8 -DeviceIds 0,1,2,3,4,5,6,7

E3
E1
E2

from seq2seqsharp.

zhongkaifu avatar zhongkaifu commented on May 19, 2024

Can you please try release package and see if it works for you.

from seq2seqsharp.

My-Khan avatar My-Khan commented on May 19, 2024

Dear Zhong Many thanks
i tried the new version , however when I try to load it VS 2015 it generates the below error messages:

  1. D:\Zhong\Seq2SeqSharp-master\TensorSharp\TensorSharp.csproj : error : The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format. D:\Zhong\Seq2SeqSharp-master\TensorSharp\TensorSharp.csproj

D:\Zhong\Seq2SeqSharp-master\TensorSharp.CUDA\TensorSharp.CUDA.csproj : error : The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format. D:\Zhong\Seq2SeqSharp-master\TensorSharp.CUDA\TensorSharp.CUDA.csproj

  1. D:\Zhong\Seq2SeqSharp-master\SeqLabelConsole\SeqLabelConsole.csproj : error : The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format, please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format. D:\Zhong\Seq2SeqSharp-master\SeqLabelConsole\SeqLabelConsole.csproj

Below are the images

image

image

from seq2seqsharp.

zhongkaifu avatar zhongkaifu commented on May 19, 2024

Thanks @My-Khan

The Seq2SeqSharp is built by Visual Studio 2019 and dotnet core. So it seems VS 2015 is too old to support it. You may try to open it by Visual Studio Community or Visual Studio Code. They are all free to download and use.

from seq2seqsharp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.