I would like to run the following github program.
https://github.com/musyoku/improved-gan/
I don't even understand the contents of the error.I am aware of my lack of experience.
I was told that there are not enough arguments, but I don't even know where to call the function.
Could someone please tell me?
$python model.py
Traceback (most recent call last):
File "model.py", line 118, in<module>
generator.build()
File "/sequential/sequential.py", line83, inbuild
self.from_json(json)
File "/sequential/sequential.py", line 109, in from_json
self.from_dict(dict_array)
File "/sequential/sequential.py", line 116, in from_dict
link=self.layer_to_chainer_link(layer)
File "/sequential/sequential.py", line 76, in layer_to_chainer_link
return layer.to_link()
File "/sequential/layers.py", line 157, into_link
return chain.links.Linear(**args)
TypeError: __init__()got an unexpected keyword argument 'bias'
The cause of the error is here, and bias to chain.links.Linear
.
The maintenance of https://github.com/musyoku/improved-gan/ itself stopped nearly two years ago, so it was working at the time, but the latest version of the chain won't work.
There are two possible modifications:
607 Uncaught (inpromise) Error on Electron: An object could not be cloned
886 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
599 GDB gets version error when attempting to debug with the Presense SDK (IDE)
568 Who developed the "avformat-59.dll" that comes with FFmpeg?
© 2024 OneMinuteCode. All rights reserved.