You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "dreamplacefpga/Placer.py", line 120, in <module>
placeFPGA(params)
File "dreamplacefpga/Placer.py", line 44, in placeFPGA
metrics = placer(params, placedb)
File "/home/grads/h/hailiang/DREAMPlaceFPGA/dreamplacefpga/NonLinearPlace.py", line 712, in __call__
self.dump(params, placedb, self.pos[0].cpu(), "%s.lg.pklz" %(params.design_name()))
File "/home/grads/h/hailiang/anaconda3/envs/dreamplacefpga/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1270, in __getattr__
type(self).__name__, name))
AttributeError: 'NonLinearPlaceFPGA' object has no attribute 'dump'
Possible method to fix this issue:
Add the dump() and load() function in dreamplacefpga/BasicPlace.py as in DREAMPlace. (I think dump and load work in pairs.)
Links to example: dump( ), load( ).
The text was updated successfully, but these errors were encountered:
The issue is in file
dreamplacefpga/NonLinearPlace.py
, line 712.The function
self.dump()
is not defined.To reproduce the error:
Add the following option in
test/FPGA-example1.json
:Then run the following command:
Error message:
Possible method to fix this issue:
Add the
dump()
andload()
function indreamplacefpga/BasicPlace.py
as in DREAMPlace. (I think dump and load work in pairs.)Links to example: dump( ), load( ).
The text was updated successfully, but these errors were encountered: