Comments (15)
I found out that was a privilege issue.
But now ive started to get another error
index created!
wrote valdb to /home/videox/Text2Scene/data/caches/composites_coco_train.pkl
Filtered 3454 scenedb entries: 77783 -> 74329
Traceback (most recent call last):
File "./tools/composites_demo.py", line 97, in
composites_demo(config)
File "./tools/composites_demo.py", line 69, in composites_demo
trainer = PuzzleTrainer(traindb)
File "/home/videox/Text2Scene/tools/../lib/modules/puzzle_trainer.py", line 60, in init
self.load_pretrained_net(self.cfg.pretrained)
File "/home/videox/Text2Scene/tools/../lib/modules/puzzle_trainer.py", line 70, in load_pretrained_net
assert osp.exists(pretrained_path)
AssertionError
from text2scene.
It seems the program didn't find the pretrained model. Have you downloaded the pretrained model and placed it in data/caches/composites_ckpts/ ?
from text2scene.
OK, I just noticed that the access permission of the server in our department is recently changed. I have regranted permission. You should be able to download the pretrained model by running "./experiments/scripts/fetch_models.sh"
from text2scene.
thank you, im downloading at the moment. Will report on results later
from text2scene.
Thank you so much for your help! Now I can see the pretrained model is downloaded but looks like there is still an issue
- echo Logging output to experiments/logs/sample_composites.txt.2019-11-26_10-28-13
Logging output to experiments/logs/sample_composites.txt.2019-11-26_10-28-13 - python3 ./tools/composites_demo.py --for_visualization=True --use_super_category=True --use_patch_background=True --n_shape_hidden=256 --where_attn=2 --where_attn_2d=True --pretrained=composites_final
dataset_info loaded from /home/videox/Text2Scene/data/caches/composites_coco_general.pkl
Loading color palette.
scenedb loaded from /home/videox/Text2Scene/data/caches/composites_coco_train.pkl
Filtered 3454 scenedb entries: 77783 -> 74329
Traceback (most recent call last):
File "./tools/composites_demo.py", line 97, in
composites_demo(config)
File "./tools/composites_demo.py", line 74, in composites_demo
trainer.dump_shape_vectors(traindb)
File "/home/videox/Text2Scene/tools/../lib/modules/puzzle_trainer.py", line 127, in dump_shape_vectors
for cnt, batched in enumerate(loader):
File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 819, in next
return self._process_data(data)
File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 846, in _process_data
data.reraise()
File "/usr/local/lib/python3.6/dist-packages/torch/_utils.py", line 385, in reraise
raise self.exc_type(msg)
AttributeError: Caught AttributeError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/_utils/worker.py", line 178, in _worker_loop
data = fetcher.fetch(index)
File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/_utils/fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/videox/Text2Scene/tools/../lib/datasets/composites_loader.py", line 140, in getitem
entry['patch_vol'] = self.db.get_volume_from_indices(image_index, instance_ind)
File "/home/videox/Text2Scene/tools/../lib/datasets/composites_coco.py", line 742, in get_volume_from_indices
label = map(lambda x: self.class_ind_to_super_class_ind[x], label.flatten().tolist())
AttributeError: 'NoneType' object has no attribute 'flatten'
this is what Im getting after running sample_composite.sh
from text2scene.
Hi Keltron, have you followed the instruction and downloaded the data required?
from text2scene.
yes, i followed all the instructions and succeded with the abstract scene and sample layout, than I did./experiments/scripts/fetch_models.sh" again, after you regranted the permissions, but still got the error above
from text2scene.
It seems the problem is caused by missing the required data, which can be downloaded by running ./experiments/scripts/fetch_aux.sh
. BTW, it is a huge zip file and it may take a while.
from text2scene.
ok, ill try to delete the Text2Scene folder and restart downloading everything from scratch. Will report
from text2scene.
looks like the aux_data.zip is not allowed to be downloaded from your server. I get 403 forbidden error
from text2scene.
Please check if you can download it now.
from text2scene.
Ive rented a NY vps in purpose of working with this model. Now I can downoad aux_data.zip but fetch_models.sh outputs 403 forbidden
from text2scene.
Hi, I reset the access permission and test the links myself under different networks. I think you should be able to download them without using any vpn.
from text2scene.
Hi, I reset the access permission and test the links myself under different networks. I think you should be able to download them without using any vpn.
Hi, I am very interest in your work;But It is too slow to download the 'aux_data.zip'; Would you send it to me using qq? My qq is 870438236; Thanks a lot!
from text2scene.
I can report that everything is working fine now! Thanks a lot!
from text2scene.
Related Issues (12)
- stuff_train2017.json missing HOT 1
- Errors while trying ./experiments/scripts/sample_abstract.sh HOT 2
- eval
- error D8021 : invalid numeric argument '/Wno-cpp' HOT 1
- Split file missing HOT 1
- "IndexError: too many indices for array" in lib/datasets/layout_coco.py HOT 7
- undefined symbol: _Py_ZeroStruct HOT 1
- FileNotFoundError: [Errno 2] No such file or directory: HOT 2
- Error while running sample_abstract.sh file
- error no 2 HOT 1
- lack of ram HOT 4
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 text2scene.