如何从CONVLSTM2D模型的输入

时间:2020-09-14 15:14:30

标签: python tensorflow

作为参考,该问题从this question开始。

这是2550张图像。 CONVLSTM2D用于分类,其代码如下所示。在运行代码后,仅显示张量列表即可停止编译过程。我想知道是否有人帮助修复它。谢谢

运行代码后显示什么:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script src="https://kit.fontawesome.com/c8896db64e.js" crossorigin="anonymous"></script> <main id="main"> <header id="header"> <div class="logo"> <a href="#"> <img id="header-img" src="https://s3.amazonaws.com/freecodecamp/original_trombones.png" alt="original trombones logo"> </a> </div> <input type="checkbox" class="menu-btn" id="menu-btn"> <label for="menu-btn" class="menu-icon"><span class="navicon"></span></label> <nav id="nav-bar"> <ul class="menu" id="menu"> <li><a href="#features" class="nav-link">Features</a></li> <li><a href="#how-it-works" class="nav-link">How it Works</a></li> <li><a href="#pricing" class="nav-link">Pricing</a></li> </ul> </nav> </header> <div class="main-content"> <section class="hero"> <h2>Handcrafted, home-made masterpieces</h2> <form action="" id="form"> <input type="email" name="email" id="email" placeholder="Enter your email address" required> <input type="submit" value="Get Started" id="submit"> </form> </section> <div class="container"> <section id="features"> <div class="row"> <div class="icon"> <i class="far fa-gem fa-3x"></i> </div> <div class="desc"> <h2>Premium Materials</h2> <p>Our trombones use the shiniest brass which is sourced locally. This will increase the longevity of your purchase.</p> </div> </div> <div class="row"> <div class="icon"><i class="fas fa-truck fa-3x"></i> </div> <div class="desc"> <h2>Fast Shipping</h2> <p>We make sure you receive your trombone as soon as we have finished making it. We also provide free returns if you are not satisfied.</p> </div> </div> <div class="row"> <div class="icon"> <i class="fas fa-clipboard-check fa-3x"></i> </div> <div class="desc"> <h2>Quality Assurance</h2> <p>For every purchase you make, we will ensure there are no damages or faults and we will check and test the pitch of your instrument.</p> </div> </div> </section> <section id="how-it-works"> <iframe id="video" src="https://www.youtube-nocookie.com/embed/y8Yv4pnO7qc?rel=0&controls=0&showinfo=0" frameborder="0"></iframe> <img class="video-alt" src="" alt="Youtube video"> </section> <section id="pricing"> <div class="card"> <div class="card-header">Tenor Trombone</div> <h2>$600</h2> <ol> <li>Lorem ipsum.</li> <li>Lorem ipsum.</li> <li>Lorem ipsum dolor.</li> <li>Lorem ipsum.</li> </ol> <button class="btn">Select</button> </div> <div class="card"> <div class="card-header">Bass Trombone</div> <h2>$900</h2> <ol> <li>Lorem ipsum.</li> <li>Lorem ipsum.</li> <li>Lorem ipsum dolor.</li> <li>Lorem ipsum.</li> </ol> <button class="btn">Select</button> </div> <div class="card"> <div class="card-header">Valve Trombone</div> <h2>$1200</h2> <ol> <li>Plays similar to a Trumpet.</li> <li>Great for Jazz Bands.</li> <li>Lorem ipsum dolor.</li> <li>Lorem ipsum.</li> </ol> <button class="btn">Select</button> </div> </section> </div> </div> <footer> <ul> <li><a href="#">Privacy</a></li> <li><a href="#">Terms</a></li> <li><a href="#">Contact</a></li> </ul> <span>© Copyright 2020 Original Trombones</span> </footer> </main>

<tf.Tensor 'truediv_15461:0' shape=(?, ?, 3) dtype=float32>, <tf.Tensor 'truediv_15462:0' shape=(?, ?, 3) dtype=float32>, <tf.Tensor 'truediv_15463:0' shape=(?, ?, 3) dtype=float32> <tf.Tensor 'truediv_15464:0' shape=(?, ?, 3) dtype=float32>],dtype=object), array([<tf.Tensor 'truediv_15465:0' shape=(?, ?, 3) dtype=float32>,<tf.Tensor 'truediv_15466:0' shape=(?, ?, 3) dtype=float32>,<tf.Tensor 'truediv_15467:0' shape=(?, ?, 3) dtype=float32>,<tf.Tensor 'truediv_15468:0' shape=(?, ?, 3) dtype=float32>,<tf.Tensor 'truediv_15469:0' shape=(?, ?, 3) dtype=float32>],dtype=object), array([<tf.Tensor 'truediv_15470:0' shape=(?, ?, 3) dtype=float32>,<tf.Tensor 'truediv_15471:0' shape=(?, ?, 3) dtype=float32>,<tf.Tensor 'truediv_15472:0' shape=(?, ?, 3) dtype=float32>,<tf.Tensor 'truediv_15473:0' shape=(?, ?, 3) dtype=float32>,<tf.Tensor 'truediv_15474:0' shape=(?, ?, 3) dtype=float32>],dtype=object), array([<tf.Tensor 'truediv_15475:0' shape=(?, ?, 3) dtype=float32>,<tf.Tensor 'truediv_15476:0' shape=(?, ?, 3) dtype=float32>,<tf.Tensor 'truediv_15477:0' shape=(?, ?, 3) dtype=float32>,<tf.Tensor 'truediv_15478:0' shape=(?, ?, 3) dtype=float32>,<tf.Tensor 'truediv_15479:0' shape=(?, ?, 3) dtype=float32>],dtype=object), array([<tf.Tensor 'truediv_15480:0' shape=(?, ?, 3) dtype=float32>,

0 个答案:

没有答案