Comments (2)
Hi @connorvr could you try again? It's a pickle error due to the lambda in _get_transforms(). If it still doesn't work, try creating a new environment with Python 3.7, PyTorch 1.1, and CUDA 10. These are the versions I'm using.
from monet-pytorch.
Hmm, no luck. I updated it and created a new conda environment with the versions you listed but get a similar error:
WARNING:root:Setting up a new session...
create web directory ./checkpoints\clevr_monet\web...
Traceback (most recent call last):
File "train.py", line 43, in <module>
for i, data in enumerate(dataset): # inner loop within one epoch
File "F:\Documents\WinPython\MONet-pytorch\data\__init__.py", line 90, in __iter__
for i, data in enumerate(self.dataloader):
File "C:\Users\Connor\.conda\envs\torch-env\lib\site-packages\torch\utils\data\dataloader.py", line 193, in __iter__
return _DataLoaderIter(self)
File "C:\Users\Connor\.conda\envs\torch-env\lib\site-packages\torch\utils\data\dataloader.py", line 469, in __init__
w.start()
File "C:\Users\Connor\.conda\envs\torch-env\lib\multiprocessing\process.py", line 112, in start
self._popen = self._Popen(self)
File "C:\Users\Connor\.conda\envs\torch-env\lib\multiprocessing\context.py", line 223, in _Popen
return _default_context.get_context().Process._Popen(process_obj)
File "C:\Users\Connor\.conda\envs\torch-env\lib\multiprocessing\context.py", line 322, in _Popen
return Popen(process_obj)
File "C:\Users\Connor\.conda\envs\torch-env\lib\multiprocessing\popen_spawn_win32.py", line 89, in __init__
reduction.dump(process_obj, to_child)
File "C:\Users\Connor\.conda\envs\torch-env\lib\multiprocessing\reduction.py", line 60, in dump
ForkingPickler(file, protocol).dump(obj)
_pickle.PicklingError: Can't pickle <function <lambda> at 0x000001D62A2EA488>: attribute lookup <lambda> on data.clevr_dataset failed
from monet-pytorch.
Related Issues (7)
- Loss function of the monet HOT 2
- questions about using code base: Monet-pytorch HOT 2
- question about the scope HOT 1
- Something wrong with ./scripts/generate_monet_montage.sh after testing using pre-trained model HOT 2
- How to change the datasets to train monet? HOT 8
- AttributeError: Can't pickle local object 'StringEncoder.<locals>.EncodeField' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from monet-pytorch.