Giter VIP home page Giter VIP logo

bfnn's Introduction

Hi there ๐Ÿ‘‹

w5688414's GitHub stats w5688414
  • ๐Ÿ”ญ My research area are natural language processing, reinforcement learning and hashtag recommendation and so on.
  • ๐ŸŒฑ I'm currently a LLM engineer

bfnn's People

Contributors

w5688414 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

zonghuiyang

bfnn's Issues

ffbn_test.py gives a RuntimeError

Dear Professor,

I am trying to run ffbn_test.py but receiving this error. I will be more than grateful if you can kindly provide guidance so that I can reproduce the results.

[tensor(0.0182, grad_fn=), tensor(0.0528, grad_fn=), tensor(0.1363, grad_fn=), tensor(0.3000, grad_fn=), tensor(0.5750, grad_fn=), tensor(1.0037, grad_fn=), tensor(1.6343, grad_fn=), tensor(2.4982, grad_fn=), tensor(3.5960, grad_fn=)]
Traceback (most recent call last):
return gca().plot( File "C:\ProgramData\Anaconda3\envs\pytorch\lib\site-packages\matplotlib\axes_axes.py", line 1668, in plot
lines = [*self._get_lines(*args, data=data, **kwargs)]
File "C:\ProgramData\Anaconda3\envs\pytorch\lib\site-packages\matplotlib\axes_base.py", line 311, in call
yield from self._plot_args(
File "C:\ProgramData\Anaconda3\envs\pytorch\lib\site-packages\matplotlib\axes_base.py", line 494, in _plot_args y = check_1d(xy[1])
File "C:\ProgramData\Anaconda3\envs\pytorch\lib\site-packages\matplotlib\cbook_init
.py", line 1382, in _check_1d
return np.atleast_1d(x) File "<array_function internals>", line 180, in atleast_1d
File "C:\ProgramData\Anaconda3\envs\pytorch\lib\site-packages\numpy\core\shape_base.py", line 65, in atleast_1d ary = asanyarray(ary)
File "C:\ProgramData\Anaconda3\envs\pytorch\lib\site-packages\torch_tensor.py", line 956, in array
return self.numpy()
RuntimeError: Can't call numpy() on Tensor that requires grad. Use tensor.detach().numpy() instead.

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.