Benjamin Weinstein

Results 119 comments of Benjamin Weinstein

I've seen this rarely too. I believe it lives far upstream of deepforest in pytorch lightning. https://github.com/Lightning-AI/lightning/issues/12233 I'm trying to remember the solution, its something to do with using the...

I think one reasonable suggestion is to use a pytorch lightning trainer outside of the class method and see if it can be reproduced. I think its something with garbage...

Just confirm update of pytorch doesn't solve the problem. https://stackoverflow.com/questions/71156846/pytorch-pytorch-lightning-state-dict-cause-referenceerror-weakly-referenced

I am seeing this quite a bit in sporadic tests on github actions. I am fairly sure it is that the m.trainer is not pickelable and is unhappy being copied....

@ethanwhite can you clarify your reproducible comment above, does that yield an error? I get ``` from deepforest import main from deepforest import get_data import time import os #initial the...

I added to the FAQ as a starting point. ## Weakly referenced objects On some devices and systems we have found an error referencing the model.trainer object that was created...

can you confirm your package versions so I can try to reproduce. Is there a reason you a not using ``` pip install deepforest ``` and going from pypi? Create...

I am not following why/when you are using ``` python setup.py install ``` there is no reason to use this. Please create a clean env, simply use ``` pip install...

Can you be sure that you are using the right deepforest version? What is your operating system (windows?). On Mac, same code cannot produce that error Install ``` (base) benweinstein@Bens-MacBook-Pro...

Any update here. I have not had any reports on this issue since version update?