Closed cailijing closed 2 years ago
Hi, From your error out seems that you may have an incorrect environment installation. You can try creating a new environment from the scratch using the requirements file in the repo. Make sure that you have cuda version which works with the dali version to be installed.
Le lun. 28 févr. 2022 à 08:31, clj @.***> a écrit :
When I run the training codes, I meet some problems. Could you help me fix them
['./data/fastDVDnet/training/DAVIS-train-mp4/mp4/snowboard.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/soapbox.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/horsejump-high.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/lindy-hop.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/crossing.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/bus.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/boat.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/miami-surf.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/flamingo.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/cows.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/dog.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/bmx-bumps.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/hockey.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/dance-twirl.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/hike.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/mbike-trick.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/goat.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/scooter-black.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/dog-agility.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/walking.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/camel.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/bmx-trees.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/train.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/kite-walk.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/surf.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/drift-turn.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/dance-jump.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/rollerblade.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/dogs-jump.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/dancing.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/motocross-bumps.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/motorbike.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/gold-fish.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/car-shadow.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/rhino.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/upside-down.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/stroller.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/schoolgirls.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/horsejump-low.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/breakdance.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/loading.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/soccerball.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/lady-running.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/sheep.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/kite-surf.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/bear.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/varanus-cage.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/koala.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/motocross-jump.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/lucia.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/boxing-fisheye.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/color-run.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/dog-gooses.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/classic-car.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/longboard.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/kid-football.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/elephant.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/scooter-board.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/night-race.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/planes-water.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/judo.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/skate-park.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/breakdance-flare.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/car-turn.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/swing.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/libby.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/dogs-scale.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/tractor-sand.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/rallye.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/tuk-tuk.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/stunt.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/drone.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/car-roundabout.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/pigs.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/drift-straight.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/mallard-water.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/india.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/drift-chicane.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/paragliding.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/tennis.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/paragliding-launch.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/mallard-fly.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/parkour.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/lab-coat.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/blackswan.mp4', './data/fastDVDnet/training/DAVIS-train-mp4/mp4/scooter-gray.mp4'] /root/anaconda3/envs/fastDVDnet/lib/python3.6/site-packages/nvidia/dali/ops.py:627: DeprecationWarning: WARNING: video_reader is now deprecated. Use readers.video instead. In DALI 1.0 all readers were moved into a dedicated :mod: ~nvidia.dali.fn.readers submodule and renamed to follow a common pattern. This is a placeholder operator with identical functionality to allow for backward compatibility. op_instances.append(_OperatorInstance(input_set, self, kwargs)) /root/anaconda3/envs/fastDVDnet/lib/python3.6/site-packages/nvidia/dali/ops.py:627: DeprecationWarning: WARNING: uniform is now deprecated. Use random.uniform instead. op_instances.append(_OperatorInstance(input_set, self, kwargs)) /root/anaconda3/envs/fastDVDnet/lib/python3.6/site-packages/nvidia/dali/ops.py:627: DeprecationWarning: WARNING: uniform is now deprecated. Use random.uniform instead. op_instances.append(_OperatorInstance(input_set, self, kwargs)) dlopen "libnvcuvid.so" failed! Traceback (most recent call last): File "/home/data0/cailijing/train_fastdvdnet.py", line 214, in main(vars(argspar)) File "/home/data0/cailijing/train_fastdvdnet.py", line 40, in main temp_stride=3) File "/home/data0/cailijing/dataloaders.py", line 103, in init self.pipeline.build() File "/root/anaconda3/envs/fastDVDnet/lib/python3.6/site-packages/nvidia/dali/pipeline.py", line 660, in build self._pipe.Build(self._names_and_devices) RuntimeError: Critical error when building pipeline: Error when constructing operator: VideoReader encountered: [/opt/dali/dali/operators/reader/loader/video_loader.h:183] Assert on "ret" failed: Failed to load libnvcuvid.so, needed by the VideoReader operator. If you are running in a Docker container, please refer to https://github.com/NVIDIA/nvidia-docker/wiki/Usage
— Reply to this email directly, view it on GitHub https://github.com/m-tassano/fastdvdnet/issues/46, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHEVKQXYYYJWCETBM4CCQT3U5MQFHANCNFSM5PQJQ7BQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message ID: @.***>
When I run the training codes, I meet some problems. Could you help me fix them
/root/anaconda3/envs/fastDVDnet/lib/python3.6/site-packages/nvidia/dali/ops.py:627: DeprecationWarning: WARNING:
main( vars(argspar))
File "/home/data0/cailijing/train_fastdvdnet.py", line 40, in main
temp_stride=3)
File "/home/data0/cailijing/dataloaders.py", line 103, in init
self.pipeline.build()
File "/root/anaconda3/envs/fastDVDnet/lib/python3.6/site-packages/nvidia/dali/pipeline.py", line 660, in build
self._pipe.Build(self._names_and_devices)
RuntimeError: Critical error when building pipeline:
Error when constructing operator: VideoReader encountered:
[/opt/dali/dali/operators/reader/loader/video_loader.h:183] Assert on "ret" failed: Failed to load libnvcuvid.so, needed by the VideoReader operator. If you are running in a Docker container, please refer to https://github.com/NVIDIA/nvidia-docker/wiki/Usage
video_reader
is now deprecated. Usereaders.video
instead. In DALI 1.0 all readers were moved into a dedicated :mod:~nvidia.dali.fn.readers
submodule and renamed to follow a common pattern. This is a placeholder operator with identical functionality to allow for backward compatibility. op_instances.append(_OperatorInstance(input_set, self, kwargs)) /root/anaconda3/envs/fastDVDnet/lib/python3.6/site-packages/nvidia/dali/ops.py:627: DeprecationWarning: WARNING:uniform
is now deprecated. Userandom.uniform
instead. op_instances.append(_OperatorInstance(input_set, self, kwargs)) /root/anaconda3/envs/fastDVDnet/lib/python3.6/site-packages/nvidia/dali/ops.py:627: DeprecationWarning: WARNING:uniform
is now deprecated. Userandom.uniform
instead. op_instances.append(_OperatorInstance(input_set, self, kwargs)) dlopen "libnvcuvid.so" failed! Traceback (most recent call last): File "/home/data0/cailijing/train_fastdvdnet.py", line 214, in